Dear FMK,
Would you please tell me if it is possible to run some DOS command using the “TCLeditor” to run OpenSees? For example, I want to run the following DOS command:
copy D:\ openSees.exe C:\tcleditor\bin
How should I write the command in the “TCLeditor”?
Thank you very much!
run some DOS command using the “TCLeditor”
Moderators: silvia, selimgunay, Moderators
-
- Posts: 50
- Joined: Mon Jun 18, 2007 1:10 am
- Location: ROMA
this example could be done with file copy .. however there are other times you may want to use a shell command.
you basically want to play with the exec command.
[url]
http://wiki.tcl.tk/1039
[/url]
here is an example i use on a linux machine;
[url
http://opensees.berkeley.edu/cgi-bin/cv ... web-markup
[/url]
you basically want to play with the exec command.
[url]
http://wiki.tcl.tk/1039
[/url]
here is an example i use on a linux machine;
[url
http://opensees.berkeley.edu/cgi-bin/cv ... web-markup
[/url]