CommandSystemForeground()

Previous Next

Executes an operating system command (for example, MKDIR, DEL, DIR, etc.). The command will be run in the foreground, causing the application to halt until the command has finished. To run a Windows command in the background, use CommandWindows().

Syntax

CommandSystemForeground( command )

 

Command is the command string that is sent to the operating system.

Example

CommandSystemForeground( 'mkdir test' )