source: grass/trunk/mswindows/osgeo4w/grass.bat.tmpl

Last change on this file was 74037, checked in by martinl, 6 years ago

grass.bat: reorder statements, see #3724

File size: 543 bytes
Line 
1@echo off
2rem #########################################################################
3rem #
4rem # GRASS initialization bat script (OSGeo4W)
5rem #
6rem #########################################################################
7
8rem
9rem Set environmental variables
10rem
11call "%~dp0\o4w_env.bat"
12call py3_env.bat
13call "%OSGEO4W_ROOT%\apps\grass\grass@POSTFIX@\etc\env.bat"
14@echo off
15
16rem
17rem Launch GRASS GIS
18rem
19"%GRASS_PYTHON%" "%GISBASE%\etc\grass@POSTFIX@.py" %*
20
21rem
22rem Pause on error
23rem
24if %ERRORLEVEL% GEQ 1 pause
Note: See TracBrowser for help on using the repository browser.