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

Moritz Lennert mlennert at club.worldonline.be
Thu Sep 25 02:28:49 EDT 2008


On 24/09/08 12:16, Kris Nackaerts wrote:
> I checked and added these:
> PATH - must include %GISBASE%/bin and %GISBASE%/lib
> GISBASE - the directory where GRASS is installed.
> GISRC - the pathname of a grassrc file
> GRASS_SH - the path to a Unix-compatible Bourne shell (only required
> 
> my .grassrc6 looks like this:
> GISDBASE: D:/GRASS/GIS DataBase
> LOCATION_NAME: spearfish60
> MAPSET: user1
> GRASS_GUI: tcltk
> GRASSDIR: D:/GRASS


and what was the result ?

Note that IIRC, the automatic GUI creation for commands without 
parameters does not work in Windows (Marco, can you confirm ?). So just 
calling 'g.region' will probably not work. Try with 'g.region -p'


Moritz



More information about the grass-user mailing list