[GRASS-user] Second try, run grass scripts as batch process in Windows

Marco Pasetti marcopstt at gmail.com
Thu Sep 25 03:31:21 EDT 2008


> Personally, I would prefer if we could avoid using Msys as a crutch. IMHO, 
> people should be able to run their scripts in their native environment. 
> This is why the best bet is probably to write scripts in Python.
>

right, I agree, actually.
so, reformulating:

1. write your GRASS batch commands using the DOS syntax and save them as a 
.bat file in C:\my_grass_scripts\

2. open a GRASS command line

3. type: set PATH=C:\my_grass_scripts;%PATH%

4. launch the batch script directly from the command line

Marco 



More information about the grass-user mailing list