ATEasy command line has the following syntax:
ATEasy [file] | [ [/b[+]projectfile] [/s]| [/rprojectfile [/simulate]] | [/pfile1] | [/ptfile2,printer ] | [file3]] [/uusername[,password] ]
file - File to open with ATEasy, could we workspace, project, program, system, driver or log file.
/b[+]projectfile - used to build an executable, the optional sign + will cause re-build all. After the build is complete ATEasy will exit.
/s - used with /b, build in silent mode, no error message will be displayed in case of compiler error.
/p - used to print a file to the default printer. After printing is complete ATEasy will exit.
/pt - used to print a file to a specific printer. After printing is complete ATEasy will exit.
/rprojectfile - used to run a project from the IDE as soon as it starts.
/simulate - used with /r to start the project in simulate mode.
/u - used for starting ATEasy skipping the user log-in dialog. ATEasy will use username and the optional password to type them to the dialog. If both are entered the log-in dialog will not be displayed.
Additional command line are available and are used to open ATEasy using DDE or OLE Automation and registration. This command are used by other tools such as the windows explorer and are not intended for user command line.
When specifying a long file name, enclose the file name with double quotes.
If the operation fails, ATEasy exit with exit code different than 0 as shown is the following table (values only applicable for v10 156d or newer).
Value |
Description |
0 |
No error |
1 |
Unknown error |
2 |
ATEasy run-time not available error |
3 |
ATEasy license not available error |
4 |
.Net framework is not available error |
5 |
COM initialization error |
6 |
Unsupported OS error |
7 |
Bad or missing ATEasy User (.usr) file error |
8 |
ATEasy user login failure error |
9 |
Cannot open ATEasy main window error |
10 |
ATEasy workspace layout error |
11 |
Build command missing file name error |
12 |
Build project file name is invalid or not found error |
13 |
Build cannot open project error |
14 |
Build project compiler error |
The following example open ATEasy with the following workspace file on x64 Windows and ATEasy 9.0:
"C:\Program Files (x86)\ATEasy 9.0\ATEasy" "C:\Program Files (x86)\ATEasy 9.0\Examples\Basic.wsp"
The following example prints a file Fl884x.drv on x64 Windows, ATEasy 9.0 and then exits:
"C:\Program Files (x86)\ATEasy 9.0\ATEasy" /p"C:\Program Files (x86)\ATEasy 9.0\Drivers\Fl884x.drv"
The following example opens the language project on x86 Windows and ATEasy 9.0:
"C:\Program Files\ATEasy 9.0\ATEasy""C:\Program Files\ATEasy 9.0\Examples\Language.prj"
The following example rebuilds the language project in silent mode on x86 Windows and ATEasy 9.0:
"C:\Program Files\ATEasy 9.0\ATEasy" /b+"C:\Program Files\ATEasy 9.0\Examples\Language.prj" /s
The following example loads the testexec.prj and then run it in simulation mode on x64 Windows and ATEasy 9.0:
"C:\Program Files (x86)\ATEasy 9.0\ATEasy" /r"C:\Program files (x86)\ATEasy 9.0\Examples\TestExec.prj" /simulate