Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
20 Views

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.

Thanks

Bob B
0 Kudos
1 Reply
Highlighted
Beginner
20 Views

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.

James
0 Kudos