This is related to another post for 64-bit Windows Server 2008 R2: Scheduled Task on Windows Server 2008 R2: batch keeps running
I guess I am mistaken, but I thought if I changed the ComSpec
path for cmd.exe to %SystemRoot%\syswow64\cmd.exe
by doing so in System Properties - Advanced - Environment Variables, calling cmd.exe in a batch file would invoke the 32-bit version under \syswow64
.
But when I view the instance of cmd.exe in Task Manager when the batch is running, the Properies still show the path as\system32
.
Is there another way to achieve a default 32-bit cmd.exe without registry changes?