Execute on Device
Verb:
EX
Description:
Executes the specified client filename (assumes the specified file is executable).
Support:
- XPe Usage
- Continue if Script Command Fails: Yes
- Arguments:
- Path and filename
- Synchronous execute [Optional]
- Examples:
- EX "c:\test.exe" (Launches c:\test.exe on the device and continues to next command in script)
- EX "c:\test.exe" "+" (Launches c:\test.exe on the device and pauses until the executable is finished before continuing with next command in script)
- EX "c:\test.exe" "+30" (Launches c:\test.exe on the device and pauses until the executable is finished or 30 seconds have elapsed, whichever occurs first, before continuing with the next command in script)
General Rules:
- The command may be issued exactly as it would be from a command prompt on the device.
- In Windows, the path may be omitted if the executable is a registered Windows application
- The optional synchronous argument stops script processing until the executable is finished. This option can be expressed as "+" with no timeout or "+n" where n indicates the maximum time in seconds to wait before continuing script processing.
Note: Because of differences between process and system speeds, it is HIGHLY recommended that this option be used.