title |
---|
wait |
This command behaves the same as the run command, except that it waits for the completion of the process or program before continuing.
wait <command-line>
Runs the scandskw.exe
program and waits for the program to complete before continuing with the action script. The use of quotes is recommended practice, and necessary if there are spaces in the file name.
wait "scandskw.exe"
On a Windows computer, this command has the same effect as calling the CreateProcess function with <command-line>
. This is also the same as using <command-line>
in the Windows Run dialog.
See the Windows documentation on CreateProcess for a discussion of the method used to locate the executable from a <command-line>
.