Die Funktion system wird benutzt, um Kommandos an das Betriebssystem zu schicken. Das Programm wird erst fortgesetzt, wenn das Kommando beendet wurde.
Library: stdlib.h
Prototype: int system(const char *cmd);
Syntax: system( "cat /etc/hosts");
Notes:
In Unix systems, the command is passed to "/bin/sh -c" for
execution. I do not know what handles the command in DOS systems.