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 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

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.


Melden Sie sich an, um einen Kommentar zu hinterlassen.