Dmitry Timoshkov wrote:
wcmd doesn't handle batch file lines consisting of an external command with options but no space between the commandline and the option, e.g. start/wait foo.exe In this case it does not find start.exe. Win98 does find start.exe in this case, and wcmd clearly should, too.
I think that actually it's a fallback behaviour if "start/wait[.exe|.com|.bat]" application is not found. Can you confirm or disprove this my statement?
I created a directory 'start' and placed in it 'wait.bat', then executed two lines from the command shell: start\wait notepad.exe ran the batch file, but start/wait notepad.exe ran notepad.exe synchronously.
Now I need to do the same with CreateProcess to see what happens; that will tell us whether we need to fix just wcmd, or also the system calls. - Dan