Command Prompt for Windows

system, _wsystem, _tsystem

int system(const char *);
int _wsystem(const wchar_t *name);
int _tsystem(const TCHAR *name);

Execute a command or a program from within an external command.

Parameter Description
command Address of a NULL terminated character string that contains the command line to execute. The command line can include anything that can be entered at the command prompt, including executing another external command.


The errorlevel set by the executed command or program. It's value depends upon the program that was executed.