[GRASS-dev] Re: winGRASS

Glynn Clements glynn at gclements.plus.com
Wed Feb 14 14:20:20 EST 2007


Moritz Lennert wrote:

> Concerning the wrong setting for GISRC, this seems to come from the 
> following line in etc/Init.bat:
> 
> set WINGISRC=%HOME%\.grassrc6
> 
> 'echo %HOME%' just results in %HOME%. Is HOME a valid Win env variable 

No, in the sense that Windows doesn't set it by default. HOME should
probably be set to %USERPROFILE% if it isn't already set.

> (and what would $HOME actually be in a windows environment) ?

%USERPROFILE% will typically be C:\Documents and Settings\<username>

(subject to localisation of directory names).

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list