Start a Windows application
- Last UpdatedJul 22, 2024
- 1 minute read
In a script, you can start a Windows application using the StartApp command.
Syntax
StartApp appname;
Parameters
appname
Path and file name of the application you want to start. A literal string value, message tagname, or string expression.
Note: You need to know the path and file name of the application. If the application is in a directory that is part of the Windows PATH environment variable, you only need to pass the file name (without path).
Example(s)
This script starts Microsoft Calculator.
StartApp "calc"