RUN

Action

Runs a command.

 

Syntax

RUN "command"

 

Remarks

Command can be any 16-bit or 32-bit application. To run command interpreter commands, specify the correct command interpreter as part of the command.

RUN does not wait for the program to complete. Script execution continues immediately. This behavior is different from the MS‑DOS based version of KiXtart, where the RUN command also terminates the script. If you want to emulate the MS‑DOS based version, you must add an EXIT command after the RUN command.

 

Examples

RUN @LDRIVE + "\UPDATE.EXE"

RUN "%COMSPEC% /e:1024 /c DIR C:"