c++ - Executing a batch file from with a c++ program
- jim (1/1) Nov 21 2002 Does anyone know how to kick off a batch file from within a C++ program ...
- Jan Knepper (7/8) Nov 21 2002 You will have to invoke the command line processor and submit your .bat ...
- jim (5/13) Nov 21 2002 Thanks...
- Matthew Wilson (5/13) Nov 21 2002 I'm pretty sure you can use ShellExecute also, if you prefer.
Does anyone know how to kick off a batch file from within a C++ program ??
Nov 21 2002
You will have to invoke the command line processor and submit your .bat file as argument. Something like: system ( "cmd.exe /C file.bat" ); On Windows NT/2K/XP Jan jim wrote:Does anyone know how to kick off a batch file from within a C++ program ??
Nov 21 2002
Thanks... "Jan Knepper" <jan smartsoft.us> wrote in message news:3DDCF6F0.C76936BB smartsoft.us...You will have to invoke the command line processor and submit your .batfileas argument. Something like: system ( "cmd.exe /C file.bat" ); On Windows NT/2K/XP Jan jim wrote:??Does anyone know how to kick off a batch file from within a C++ program
Nov 21 2002
I'm pretty sure you can use ShellExecute also, if you prefer. "Jan Knepper" <jan smartsoft.us> wrote in message news:3DDCF6F0.C76936BB smartsoft.us...You will have to invoke the command line processor and submit your .batfileas argument. Something like: system ( "cmd.exe /C file.bat" ); On Windows NT/2K/XP Jan jim wrote:??Does anyone know how to kick off a batch file from within a C++ program
Nov 21 2002