Batch files

Batch files

Anyone know how to run Fortran programs using batch files? These files have have the execute command and a long list of inputs so I don't have to key them in. I use Windows 98, NT, and 2000.


Bob B

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Assuming a console application, you can type your inputs into a separate file, like INPUT.TXT, then use the command

myprog < input.txt

to run myprog without the need for interactive user input.


Leave a Comment

Please sign in to add a comment. Not a member? Join today