running modflow with batch files. dos basics cd = change directory (dos is not case sensitive) dir =...
TRANSCRIPT
Running Modflow with Batch Files
Dos basics cd = change directory
(dOs Is NoT cAsE sEnSiTiVe)
dir = shows you what is in the directory
(It gives you a list of everything that is in the folder)
copy = copies one file to a new file name
(copy sample.txt newsample.txt)
md = make directory
Don’t fear the command prompt box.
Start > Programs >
Accessories > Command Prompt
Basic Batch File
• Batch files just take an input file and run it with an executable file (*.exe)
• rem = remark line
• File extension is *.bat
Simple Tips for Batch Files
• Keep all files are in the same folder. (*.bat, *.in, *.exe)
• Make comments (rem)
• Add a pause
Creating Data Sets in GWV
rem Basic Batch File by Chris Lowry
rem Run Model using Modflow
mf2k.exe <mf2k.in
pause
Run Model
Import Results
More Complex Batch File