110 likes | 291 Views
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.
E N D
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
rem Basic Batch File by Chris Lowry rem Run Model using Modflow mf2k.exe <mf2k.in pause