Account Status user Submitted by hosseini.pe on Sat, 09/17/2022 - 04:15 Forums General Discussion Dear All, I want to run a network file just from command line and create project _pj folder. how can I do this? Best Regards, Rami Mauro.Tonelli Engine Mode Dear Rami, For you to run a network file from a command line, you need to use the engine mode. Before that, you must create the project folder. It can be created manually or with the command line mkdir in the same directory of the netlist file. Please, see below the lines that you need to use to run from the "Command Prompt" (CMD). "InstallationFilePath\EMTP\emtpopt.exe" "C:\Users\YourUserName\AppData\Roaming\EMTP\C_Program_Files_x86_EMTPWorks_4_2_1\emtpstate.ini";;"NetlistDirectory";1; Considering an example, the lines will be like this: "C:\Program Files (x86)\EMTPWorks 4.2.1\EMTP\emtpopt.exe" "C:\Users\EMTP\AppData\Roaming\EMTP\C_Program_Files_x86_EMTPWorks_4_2_1\emtpstate.ini";;"C:\Users\EMTP\Desktop\MN\New folder\Lab_A1.net";1; Thank you very much for your attention. Yours sincerely, Mauro Log in or register to post comments Tue, 10/25/2022 - 15:12 Permalink Account Status user hosseini.pe Thank you very much Mauro… Thank you very much Mauro for your help. Log in or register to post comments Wed, 05/03/2023 - 01:40 Permalink Log in or register to post comments
Mauro.Tonelli Engine Mode Dear Rami, For you to run a network file from a command line, you need to use the engine mode. Before that, you must create the project folder. It can be created manually or with the command line mkdir in the same directory of the netlist file. Please, see below the lines that you need to use to run from the "Command Prompt" (CMD). "InstallationFilePath\EMTP\emtpopt.exe" "C:\Users\YourUserName\AppData\Roaming\EMTP\C_Program_Files_x86_EMTPWorks_4_2_1\emtpstate.ini";;"NetlistDirectory";1; Considering an example, the lines will be like this: "C:\Program Files (x86)\EMTPWorks 4.2.1\EMTP\emtpopt.exe" "C:\Users\EMTP\AppData\Roaming\EMTP\C_Program_Files_x86_EMTPWorks_4_2_1\emtpstate.ini";;"C:\Users\EMTP\Desktop\MN\New folder\Lab_A1.net";1; Thank you very much for your attention. Yours sincerely, Mauro Log in or register to post comments Tue, 10/25/2022 - 15:12 Permalink
Account Status user hosseini.pe Thank you very much Mauro… Thank you very much Mauro for your help. Log in or register to post comments Wed, 05/03/2023 - 01:40 Permalink
Engine Mode
Dear Rami,
For you to run a network file from a command line, you need to use the engine mode.
Before that, you must create the project folder. It can be created manually or with the command line mkdir in the same directory of the netlist file.
Please, see below the lines that you need to use to run from the "Command Prompt" (CMD).
"InstallationFilePath\EMTP\emtpopt.exe" "C:\Users\YourUserName\AppData\Roaming\EMTP\C_Program_Files_x86_EMTPWorks_4_2_1\emtpstate.ini";;"NetlistDirectory";1;
Considering an example, the lines will be like this:
"C:\Program Files (x86)\EMTPWorks 4.2.1\EMTP\emtpopt.exe" "C:\Users\EMTP\AppData\Roaming\EMTP\C_Program_Files_x86_EMTPWorks_4_2_1\emtpstate.ini";;"C:\Users\EMTP\Desktop\MN\New folder\Lab_A1.net";1;
Thank you very much for your attention.
Yours sincerely,
Mauro
Thank you very much Mauro…