Run .bat files

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Wed Nov 27 02:57:26 CST 2002


>>>>> "Fabian" == Fabian Cenedese <Cenedese at indel.ch> writes:

    Fabian> Hi I found out that I can't run batch files directly. It gives
    Fabian> me "cannot determine executable type". Maybe there is a
    Fabian> possibility to start it right away with wcmd or wineconsole. The
    Fabian> problem is that it must also work if a running app calls the
    Fabian> batch files with CreateThread.  Could it be a solution to add a
    Fabian> new type to MODULE_GetBinaryType and then start a console with
    Fabian> the batch file argument?  If this is already too late, is there
    Fabian> another possibility inside wine?  Would it work if I change the
    Fabian> call to CreateThread("cmd file.bat")? But then it has to work on
    Fabian> all Windows95, NT and wine (command.com, cmd.exe, wcmd).

I have something in my tree. I will try to send you a patch until tomorrow
evening. Would you be willing to test?

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