Due to workstation limitations, I need to run (analyse) two seperate staad model files overnight at work, from my windows machine.
I recall (from way-back-when) that this can be achieved by creating a user executable file (or was it a *.cmd or *.bat file, I can't recall) using just Notepad containing a couple of lines of simple DOS commands and pointing to the filepaths. Can anyone help? Tried googling this but didn't get very far.
Cheers
Please refer to the following link for the answer. Please let me know if this does not answer your query.
communities.bentley.com/.../254111.aspx
Sudip Narayan Choudhury
Answer Verified By: Matt Goswell
Thanks for your reply
I've looked into this and you can also run direct from the command line as follows:
"filepath where SProStaad.exe is saved in quotation marks" /s staadfilepath.std
for example, open Notepad and save these lines as a *.bat file (saving in Notepad under "all files" as save type). The /s is a switch to run files sequentially.
"C:\Program Files\SProV8i\STAAD\SProStaad\SProStaad.exe" /s C:\MyStaadFiles\Model_1.std
"C:\Program Files\SProV8i\STAAD\SProStaad\SProStaad.exe" /s C:\MyStaadFiles\Model_2.std
"C:\Program Files\SProV8i\STAAD\SProStaad\SProStaad.exe" /s C:\MyStaadFiles\Model_3.std
"C:\Program Files\SProV8i\STAAD\SProStaad\SProStaad.exe" /s C:\MyStaadFiles\Model_4.std
etc etc.........
Double click your batch file and it will run the staad files sequentially. This is a vanilla way of running multiple files without having to open an application with VB.
Have a good day