MicroStrategy ONE

Run Command statement

Runs an executable program.

Copy
RUN COMMANDexecutable_program [WAIT];

where:

  • executable_program is the name of the executable program to be launched/run, which indicates the full path and additional parameters (if necessary), of type string, between double quotes (" ").

  • WAIT causes the script to pause until the executable program is finished executing. If WAIT is not included, the script continues to execute while the executable program executes.

Examples

Copy
RUN COMMAND"notepad.exe";
Copy
RUN COMMAND"explorer C:\Command Manager Scripts\";
Copy
RUN COMMAND "cmdmgrw.exe" WAIT;