Skip to content

Instantly share code, notes, and snippets.

@agiudiceandrea
Created April 20, 2021 18:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agiudiceandrea/d92e60971e653e358ea86f0d4153be13 to your computer and use it in GitHub Desktop.
Save agiudiceandrea/d92e60971e653e358ea86f0d4153be13 to your computer and use it in GitHub Desktop.
qgis-grass.bat per MSI installer
@ECHO OFF
SET DRV_LTR=%cd%
SET OSGEO4W_ROOT=%DRV_LTR%\qgis
PATH %PATH%;%OSGEO4W_ROOT%\apps\qgis\bin;%OSGEO4W_ROOT%\apps;%OSGEO4W_ROOT%\bin;%OSGEO4W_ROOT%\apps\grass
IF "%1" == "" (start "QGIS" /B %OSGEO4W_ROOT%\bin\qgis.bat --profiles-path %DRV_LTR%\qgisconfig) ELSE (start "QGIS" /B %OSGEO4W_ROOT%\bin\qgis.bat --profiles-path %DRV_LTR%\qgisconfig --project %1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment