Why not cmd.exe only, and hope to find it in the PATH? I think the PATH in Windows contains windows\system32 in it by default.
Jaco, did you make sure you have the correct link into C:\windows\system32 created by wineinstall ?
lrwxrwxrwx 1 syl wine 31 aoû 3 09:08 /home/c/windows/system32/cmd.exe -> /usr/local/lib/wine/wcmd.exe.so
I have tried this, CreateProcess doesn't find "cmd.exe" if we don't specify the full path. (This happend in the test case with the neccessary changes made to default to "cmd.exe"). But yes, it would be great.
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com