<div dir="ltr"><div><div>Hi,<br><br>do you think it would make sense for MS Windows installer to add the main GRASS executable on path?<br><br>I'm asking because of #2579 (r65252). On MS Windows you will have to use:<br><br>C:\Program Files (x86)\GRASS GIS...\grass71 C:\grassdata\... exec g.region -p<br><br>It would be much nicer to be able to do the same as on Linux where GRASS is on path when installed:<br><br>grass71 ~/grassdata/... exec g.region -p<br><br></div>I guess we can instruct the user somewhere (?) that one have to add a particular to PATH variable to have GRASS on path, but this is quite cumbersome to do. Is it possible to modify the installer that it (optionally) adds GRASS on path?<br><br></div><div>The goal is to enable writing (non-grass) scripts which are portable from one computer to another. In case the GRASS command/executable is named grass, rather then grass7 or even grass70/grass71 the scripts can be even more universal (supposing that your script will work with the version marked as grass). Surely, you should have it in some variable in your script but you have to set the value somehow and I would prefer to see scripts not starting with:<br><br></div><div>grass = "C:\Program Files (x86)\GRASS GIS...\grass71"<br><br></div><div>but rather<br><br>grass = "grass"<br><br></div><div>or<br><br>grass = "grass7"<br></div><div><div><br></div><div>Best,<br></div><div>Vaclav<br></div><div><br><a href="https://trac.osgeo.org/grass/ticket/2579">https://trac.osgeo.org/grass/ticket/2579</a><br><a href="https://trac.osgeo.org/grass/changeset/65252">https://trac.osgeo.org/grass/changeset/65252</a></div></div></div>