## Inserting an External Command

External Command dialog box

The Insert | External Command menu option allows you to insert a command into the Edit window that, when marked and executed, runs an external executable or batch file from the part program.

- Normal DOS commands can be executed if they are put into a batch file.

- The command must be marked in the Edit window for PC-DMIS to execute the external command.

- A valid path and file name must be used.

- PC-DMIS will halt the execution of the program and display a message when it encounters an EXTERNALCOMMAND/DISPLAY command during execution. Click OK to continue part program execution.

M ore:

To insert an External Command:

Display option

No Display option

Wait and No Wait options

... button

Creating an External Command as a Menu Item or Toolbar Item

Example - Using the External Command to Display a File