Hi,
Could someone tell me where on a Cygwin set-up the default location and name is for grass5 startup file/s. I need to access it/them from a batch file.
Many thanks,
Mike
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Dr. Michael Francis Ph.D (Lancaster); M.Sc (Lancaster); M.Sc (London); BA Hons (CNAA) MBCS MCIT MIHT
Senior Lecturer in Information Systems
Director, Merseyside Regional Research Laboratory,
Liverpool John Moores University,
Liverpool,
England
Telephone 079 600 600 72
Hello
On Wed, 28 Apr 2004, Mike Francis wrote:
Hi,
Could someone tell me where on a Cygwin set-up the default location and name is for grass5 startup file/s. I need to access it/them from a batch file.
It's not clear to me what/why you are trying to do here. As I understand
it you should start GRASS from the Cygwin bash shell. Is there a good
reason for not doing that? Something like
c:\cygwin\bin\bash -c /usr/local/bin/grass53
might work from the Windows command prompt (or a batch file) but I'm not
sure; maybe you could elaborate on why you need it to be a Windows batch
file and not a Cygwin shell script (if, say you want to do something like
set the DISPLAY variable before starting GRASS)
Paul
Mike Francis wrote:
Could someone tell me where on a Cygwin set-up the default location and
name is for grass5 startup file/s. I need to access it/them from a batch
file.
What do you mean by "startup file/s"? The session file (which contains
the current database, location and mapset) is $HOME/.grassrc5. The
script which is used to start a GRASS session is usually
/usr/local/bin/grass5 (or grass53/grass57 for the development
versions).
--
Glynn Clements <glynn.clements@virgin.net>