qprocess.exe not recognized
Posted: 26 Mar 2018 21:04
Win7. In XY, I start a batch file by double-clicking it. The batch file contains qprocess.exe. It fails with 'qprocess.exe' is not recognized as internal or external command, operable program or batch file.
If I start the same batch file from Explorer, qprocess.exe executes normally.
The batch file also contains timeout.exe; this works in XY or Explorer.
timeout.exe is in \windows\system32 and in \windows\sysWOW64.
qprocess.exe is only in \windows\system32, so that may explain something, but path includes \windows\system32.
Even if I use C:\windows\system32\qprocess.exe it still fails the same way if started in XY.
My expectation is for the batch to run the same whether started in XY or Explorer.
If I start the same batch file from Explorer, qprocess.exe executes normally.
The batch file also contains timeout.exe; this works in XY or Explorer.
timeout.exe is in \windows\system32 and in \windows\sysWOW64.
qprocess.exe is only in \windows\system32, so that may explain something, but path includes \windows\system32.
Even if I use C:\windows\system32\qprocess.exe it still fails the same way if started in XY.
My expectation is for the batch to run the same whether started in XY or Explorer.