New
#21
I think what is happening in 64 bit cmd.exe if the OP is in C:\Windows\SysWow64 and runs reg.exe, the 32 bit emulation copy exists and the command is found. Perhaps it's being redirected to C:\Windows\System32 to use the 64 bit version. If the current directory is C:\Windows\System32 then it should definitely find the 64 bit reg.exe.
First thing I would try is make a batch with the exact path of reg.exe. Like DoReg.cmd with
the %* should pass on the entire command tail unaltered. That way you don't have to worry about how many args the command takes.Code:@echo off C:\Windows\System32\reg.exe %*
That should force cmd.exe to find reg.exe