Running Modflow with Batch Files. Dos basics cd = change directory (dOs Is NoT cAsE sEnSiTiVe) dir =...
-
Upload
russell-matthews -
Category
Documents
-
view
215 -
download
2
Transcript of Running Modflow with Batch Files. Dos basics cd = change directory (dOs Is NoT cAsE sEnSiTiVe) dir =...
![Page 1: 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.](https://reader036.fdocuments.net/reader036/viewer/2022083005/56649f1c5503460f94c32756/html5/thumbnails/1.jpg)
Running Modflow with Batch Files
![Page 2: 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.](https://reader036.fdocuments.net/reader036/viewer/2022083005/56649f1c5503460f94c32756/html5/thumbnails/2.jpg)
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
![Page 3: 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.](https://reader036.fdocuments.net/reader036/viewer/2022083005/56649f1c5503460f94c32756/html5/thumbnails/3.jpg)
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
![Page 4: 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.](https://reader036.fdocuments.net/reader036/viewer/2022083005/56649f1c5503460f94c32756/html5/thumbnails/4.jpg)
Simple Tips for Batch Files
• Keep all files are in the same folder. (*.bat, *.in, *.exe)
• Make comments (rem)
• Add a pause
![Page 5: 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.](https://reader036.fdocuments.net/reader036/viewer/2022083005/56649f1c5503460f94c32756/html5/thumbnails/5.jpg)
Creating Data Sets in GWV
![Page 6: 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.](https://reader036.fdocuments.net/reader036/viewer/2022083005/56649f1c5503460f94c32756/html5/thumbnails/6.jpg)
rem Basic Batch File by Chris Lowry
rem Run Model using Modflow
mf2k.exe <mf2k.in
pause
![Page 7: 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.](https://reader036.fdocuments.net/reader036/viewer/2022083005/56649f1c5503460f94c32756/html5/thumbnails/7.jpg)
Run Model
![Page 8: 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.](https://reader036.fdocuments.net/reader036/viewer/2022083005/56649f1c5503460f94c32756/html5/thumbnails/8.jpg)
Import Results
![Page 9: 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.](https://reader036.fdocuments.net/reader036/viewer/2022083005/56649f1c5503460f94c32756/html5/thumbnails/9.jpg)
![Page 10: 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.](https://reader036.fdocuments.net/reader036/viewer/2022083005/56649f1c5503460f94c32756/html5/thumbnails/10.jpg)
More Complex Batch File