loading .bat files form c++

Started by MisterN, August 25, 2012, 09:33:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MisterN

werg

SplinterGU

#1
sure... you can use EXEC or I don't understand you.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

MisterN

no it works, if you were gonna have visual c++ open up a .bat file to run a bennu game, youd use that
werg

SplinterGU

oh, sorry, I was understand call a bat from bennugd.

from C you must run it with cmd.exe, for example:

system( "cmd.exe /C mybat.bat" );



Download Lastest BennuGD Release: http://www.bennugd.org/node/2