[Wine]Problem calling executable with document as argument

Detlef Riekenberg wine.dev at web.de
Sat Aug 27 15:15:22 CDT 2005


Am Donnerstag, den 25.08.2005, 11:33 -0300 schrieb Ubiratã Silva:

> wine EDMCONSW.EXE CONNECT.EXT
> (using the filename as argument, exactly as in Windows box)


wine wcmd /c EDMCONSW.EXE CONNECT.EXT

or 

wine wcmd /c batchfile.bat


As an Example, when your wine-directory is not $HOME/.wine:

----- cut ----

#!/bin/sh

if [ -n "$WINEPREFIX" ]
then
    wine wcmd /c _pm__w32.bat   $*
else
    echo "\$WINEPREFIX is empty"
fi

----- cut ----

I use this to compile for windows with Pelles-C in wine and I was to
lazy to change all my bat-files, when I switched from windows to linux.



-- 
By By ...
      ... Detlef





More information about the wine-users mailing list