Run network file in command line

Submitted by hosseini.pe on Sat, 09/17/2022 - 10:15

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

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

Tue, 10/25/2022 - 21:12 Permalink
X