RUNX Statement

<runx statement>

──── RUNX ─────── <command line> ──────────────────────────────────►
►─┬───────────────────────────────┬─┬────────────────────────┬─────┤
  └─ [ ── <task identifier> ── ] ─┘ └─ <task equation list> ─┘

Explanation

The RUNX statement (short for run external task) enables you to execute an external process in the firmware environment using the SYSTEM/RUNX utility.

<command line>

A string that identifies the program to be run and any command line parameters for that program.

Restrictions

Your usercode must have SECADMIN or SYSTEMUSER status to use a RUNX statement.

Examples

The following are examples of simple RUNX statements:

RUNX "C:\Windows\System32\cmd.exe";
RUNX "cmd.exe /c dir";

CMD := "cmd /c echo hi";
RUNX (CMD);

RUNX "MyProgram.exe" [T];