There are basically four methods to run a command in Visual C++.
· system(), _wsystem() · ShellExecute() or ShellExecuteEx() · CreateProcess() · WinExec()
WinExec is provided only for compatibility with 16-bit Windows. Applications should use the CreateProcess function.