12345678910111213141516171819202122232425 |
- @echo off
- rem #########################################################################
- rem #
- rem # GRASS initialization bat script (OSGeo4W)
- rem #
- rem #########################################################################
- SET OSGEO4W_ROOT=@osgeo4w@
- rem
- rem Set environmental variables
- rem
- call %OSGEO4W_ROOT%\bin\o4w_env.bat
- call %OSGEO4W_ROOT%\apps\grass\grass-@VERSION@\etc\env.bat
- rem
- rem Launch GRASS GIS
- rem
- "%GRASS_PYTHON%" "%GISBASE%\etc\grass@POSTFIX@.py" %*
- rem
- rem Pause on error
- rem
- if %ERRORLEVEL% GEQ 1 pause
|