Use COMSPEC command interpreter to run .bat files.

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Wed Dec 4 02:39:54 CST 2002


>>>>> "Sylvain" == Sylvain Petreolle <spetreolle at yahoo.fr> writes:

    Sylvain> Is your patch allowing the run of .bat files by wine itself, or
    Sylvain> only a W-process ? When I try it on command line I have this :

    Sylvain> [syl at snoop cygwin]$ wine cygwin.bat --debugmsg +process
    Sylvain> trace:process:PROCESS_InitWine starting process name=""
    Sylvain> file=(nil) argv[0]="cygwin.bat" trace:process:find_exe_file
    Sylvain> looking for "cygwin.bat" trace:process:find_exe_file Trying
    Sylvain> built-in exe "C:\\cygwin\\cygwin.bat"
    Sylvain> trace:process:find_exe_file Trying native exe
    Sylvain> "C:\\cygwin\\cygwin.bat" wine: cannot determine executable type
    Sylvain> for 'C:\cygwin\cygwin.bat' [syl at snoop cygwin]$ cat cygwin.bat
    Sylvain> @echo off


you can't run "wine cygwin.bat --debugmsg +process". Only
"CreateProcess(...,"...bat") is supported? And the fix for GOTO in batch
files needs still to be applied.

Is "wine cygwin.bat --debugmsg +process" really something valid? "wine
--debugmsg +process -- wcmd /c cygwin.bat" Should work.

Bye
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

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



More information about the wine-devel mailing list