Launching eCADSTAR from the Command Line
You can launch eCADSTAR applications from the command line by entering the following string:
"[eCADSTAR installation directory]\bin\eCS_pcb.exe [optional parameters]".
The following is an example which shows the complete path. The displayed quotation marks are required.
"C:\Program Files\eCADSTAR\eCADSTAR 2020.0\bin\eCS_pcb.exe".
Optional Parameters
Parameters can be appended to the end of the command line. This allows you to open workspaces, designs and macros when you launch eCADSTAR from the command line.
Optional Parameters | Description |
---|---|
-workspace: | The parameter, followed by the path of the workspace file, will open the workspace when the application is launched. |
-playback: | The parameter, followed by the path of the macro file, will play the macro when the application is launched. |
File name/path | Specifying a file path will open the design that is specified in the file path. |
When using all the parameters, the format of the command is as follows:
[File path to application] [-Workspace] [-playback (Macro)] [File path to design].
The following examples show the format of the command that is used in each scenario.
To launch eCADSTAR PCB Editor and a Workspace
"C:\Program Files\eCADSTAR\eCADSTAR 2020.0\bin\eCS_pcb.exe" -workspace: "C:\Users\public\eCADSTAR\eCADSTAR2020.0\Designs\DIY_Training\workspace.ecw".
To launch eCADSTAR PCB Editor, a Workspace and a Design
"C:\Program Files\eCADSTAR\eCADSTAR 2020.0\bin\eCS_pcb.exe" -workspace: "C:\Users\public\eCADSTAR\eCADSTAR2020.0\Designs\DIY_Training\workspace.ecw" "C:\ public\eCADSTAR\eCADSTAR2020.0\Designs\DIY_Training\PCB\Design1.pdes".
To launch eCADSTAR PCB Editor, a Workspace and a Design, and then Run a Macro
"C:\Program Files\eCADSTAR\eCADSTAR 2020.0\bin\eCS_pcb.exe" -workspace: "C:\Users\public\eCADSTAR\eCADSTAR2020.0\Designs\DIY_Training\PCB\workspace.ecw" -playback: C:\Users\public\eCADSTAR\eCADSTAR2020.0\Designs\DIY_Training\PCB\macro.txt" "C:\ public\eCADSTAR\eCADSTAR2020.0\Designs\DIY_Training\PCB\Design1.pdes".