automatic *.inp file execution
Hello!
Is there any possibility to execute *.inp file automatically when prostar.exe starts? I would like to prostar.exe automatically starts with certain *.inp file and does all included in this file commands. Something like that: c:\...\bin\prostar.exe -b -some_key file.inp ??? Thanks and regards, Ivan |
Re: automatic *.inp file execution
Using Linux you can pipe it using "<"
prostar -b < file.inp Do not know if this works for Windows but I do not think so. Otherwise you could try something like ifile file.inp in your proinit. Regards |
Re: automatic *.inp file execution
It works for Windows, thanks!
|
Re: automatic *.inp file execution
Put a line containing "ifile file.inp" in your PROINIT file. Or you can just put the commands directly in PROINIT.
On Unix/Linux, the PROINIT file goes in ~/star.dir. If present, it is automatically run each time you start a PROSTAR session. I believe you can also place PROINIT in the current working directory. |
All times are GMT -4. The time now is 21:49. |