Hi all
I've a simple program that outputs a script to a bat file. When finished, the program runs it with system ("command.bat"), but this is not useful to me.
I would like a function that runs the command.bat file in a ms-dos window, but without closing the main windows program. Which ones can I use have? Will the function block the program? I would prefer it to do the blocking or have some kind of function to wait until the bat finishes to do some action.
Thanks!
I've a simple program that outputs a script to a bat file. When finished, the program runs it with system ("command.bat"), but this is not useful to me.
I would like a function that runs the command.bat file in a ms-dos window, but without closing the main windows program. Which ones can I use have? Will the function block the program? I would prefer it to do the blocking or have some kind of function to wait until the bat finishes to do some action.
Thanks!