running a command prompt?

Blitz3D Forums/Blitz3D Beginners Area/running a command prompt?

(tu) sinu(Posted 2004) [#1]
how can i run a exe which requires a command prompt in blitz on multiple files without it popping on and off?


WolRon(Posted 2004) [#2]
I don't understand the question.


(tu) sinu(Posted 2004) [#3]
nevermind, i don't think i can get around the problem.


soja(Posted 2004) [#4]
If you're using BlitzPlus, you can use CreateProcess.


Zethrax(Posted 2004) [#5]
Not sure about the 'multiple files without it popping on and off' part, but you can use ExecFile to run an exe with commandline keys.

Example.

ExecFile Chr$ ( 34 ) + "C:\Program Files\Blitz3D\bin\blitzcc.exe" + Chr$ ( 34 ) + " -h"

Should run the Blitz 3D compiler and show the commandline help.


soja(Posted 2004) [#6]
He's referring to the command window popping up and disappearing.