RUN CMD

From Macros Wiki
Revision as of 17:30, 16 August 2010 by MikeO (talk | contribs)
Jump to navigationJump to search

Up

Command

RUN_CMD <filename>, [<text to pass to exe>], [<add quotes>], [<wait for it to finish>]


Run a system command.

Parameters

<exe filename>
Name of command to run.
[<text to pass to exe>]
Command line text to pass to command. Default is no text.
[<add quotes>]
Set to 0 to use the text as supplied, 1 to to add quotes around it. Default is 1.
[<wait for it to finish>]
Set to 0 to start the command and then continue with the macro. 1 to wait until the command finished before continuing with the macro. Default is 1.


Example

RUN_CMD "Notepad.exe", "MyFile.txt"