Are you positive your OS is 32-bit? I wasn't aware that Windows created a Program Files (x86) directory unless it was a 64-bit OS. To be completely sure, press [Windows key]-[Pause/Break] and look under "System Type" in the middle. It'll say 32-bit or 64-bit Operating System.
If you are certain of what you have, just change the directory path in your batch file to that of the (x86) folder - there's really no need to move Java. That should fix the issue.