Possible Duplicate:
Run a simple shell command
Is there a Win32 API function that does the same thing as system() in a similarly simple way? In the specific console program I’m creating, I’d like to limit as much as possible to the Windows libraries.
You can just use
system().