May we use winelib-wcmd as $COMSPEC command processor?

Uwe Bonnes bon at
Sun Sep 8 13:50:38 CDT 2002

>>>>> "Alexandre" == Alexandre Julliard <julliard at> writes:

    Alexandre> Uwe Bonnes <bon at> writes:
    >> Pointing $COMSPEC to the winelib wcmd processor doesn't work as
    >> expected, as CreateProcess tries to execute wcmd as windows
    >> executable, as CeateProcess is called like:
    >> Call kernel32.CreateProcessA(40c8248f\
    >> "h:/tmp/wine/compile/wine/programs/wcmd/wcmd",40c8ff1c\
    >> "h:\\tmp\\wine\\compile\\wine\\programs\\wcmd\\wcmd /c\
    >> I:\\xilinx\\bin\\nt\\ChipView.bat -f magcom.vm6",...

    Alexandre> If you simply set COMSPEC to "wcmd.exe" it should work I
    Alexandre> think (assuming is in your WINEDLLPATH of
    Alexandre> course).

Probably I forget something, but it doesn't work for me:

> echo $COMSPEC 
(I added an echo command to winewrapper)

088fccb8:Call kernel32.CreateProcessA(40c8248f "wcmd.exe",40c87f04 "wcmd.exe
/c I:\\xilinx\\bin\\nt\\ChipView.bat -f magcom
trace:dosfs:DOSFS_GetFullName L"wcmd.exe" (last=1)
trace:dosfs:DOSFS_OpenDir "/home/bon/work/projekte/elab/magcomp"
warn:dosfs:DOSFS_FindUnixName L"wcmd.exe" not found in
088fccb8:Ret  kernel32.CreateProcessA() retval=00000000 ret=405feddd

> ls -l /home/bon/tmp/wine/compile/wine/programs/ 
lrwxrwxrwx    1 bon      users          16 Sep  8 01:58
/home/bon/tmp/wine/compile/wine/programs/ -> wcmd/

Any hints?
Uwe Bonnes                bon at

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the wine-devel mailing list