SH

SH, !

Top  Previous  Next

 

The SH command executes a shell (operating system) command.

 

 

Format

 

SH command

!command

SH

 

where

 

commandis the shell command to be executed.

 

 

The SH command executes the given operating system command. No checks are performed on the command to be executed so care needs to be taken not to do anything that would interfere with correct operation of QM.

 

The ! synonym is provided for compatibility with other systems. This form does not need a space between the ! and the command.

 

Use of SH without a command starts an interactive shell. Use the shell exit command to return to QM.

 

 

Example

 

SH DIR

 

This command lists the current directory on a Windows system.