nlgyro
Member
- Nov 14, 2009
- 172
thread2-270689
This is in response to the query that OP has asked for in the above thread. Although the response suggested "somewhat" answers the question posed, here is a more elegant way of doing it in MS-DOS.
Copy & paste the following line in a notepad window and save it as "run.bat" (for example) in your working directory where you have the nastran input files in *.dat extn
**********
for %%i in (*.dat) do call C:\MSC.Software\MD_Nastran\20101\bin\mdnastran.exe scr=y old=n news=n %%i
**********
Execute the file, by double-clicking on "run.bat"
The path that you see there is the path for the mdnastran exceutable on my machine. Should be changed to whatever "nastran.exe" path the user might have on their machines. If you have the nastran files in *.bdf extension, replace the (*.dat) in the line to (*.bdf)
This runs for any number of nastran I/P files that you may have.