Functions HI-TECH C SYSTEM
#include <sys.h> int system(char * s)
When executed under MS-DOS system() will pass the argument string to the command processor, located via the environment string COMSPEC, for execution. The exit status of the command processor will be returned from the call to system(). For example, to set the baud rate on the serial port on an MS-DOS machine:
This function will not work on CP/M-86 since it does not have an invokable command interpreter. Under Concurrent CP/M the CLI system call is used.