msvcrt-A06: _popen + COMSPEC

Francois Gouget fgouget at
Sun Nov 3 14:28:41 CST 2002

On 3 Nov 2002, Jaco Greeff wrote:
> I however, did look at what the correct behaviour of CreateProcess
> should be when I came across this. According to MSDN:
> "The string can specify the full path and file name of the module to execute
> or it can specify a partial name. In the case of a partial name, the
> function uses the current drive and current directory to complete the
> specification. The function will not use the search path. If the file name
> does not contain an extension, .exe is assumed. Therefore, if the file name
> extension is .com, this parameter must include the .com extension."

This is if you specify the lpApplicationName parameter. To have
CreateProcess search the path, leave it as NULL and specify "wcmd.exe
..." in lpCommandLine.

Then it should work.

Francois Gouget         fgouget at
   Nouvelle version : les anciens bogues ont été remplacés par de nouveaux.

More information about the wine-devel mailing list