Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Batch files

bourque
Beginner
413 Views
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
james1
Beginner
413 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
Reply