SH, !

Top  Previous  Next

 

The SH command executes a shell (operating system) command. This command is not available on the PDA version of QM.

 

 

Format

 

SH command

!command

SH                          (Not Windows)

 

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. Interactive shells are not currently available on Windows.

 

 

Example

 

SH DIR

 

This command lists the current directory on a Windows system.