[Qgis-user] qgis,bat starts with 2.18 instead 3.0

Juerg Lindauer Juerg.Lindauer at sz.ch
Fri Apr 6 01:50:16 PDT 2018


Hi

I have two versions of qgis in my system (Win 10) installed. QGIS
2.18.15 and 3.0.1.

To open a project file i use right-click and choose the specific batch
file.
After installing 3.0.1 the batch file  'C:\Program Files\QGIS
3.0\bin\qgis.bat' open the project file with QGIS 2.18.15.

The content of qgis.bat ist:
@echo off
call "%~dp0\o4w_env.bat"
call qt5_env.bat
call py3_env.bat

path %OSGEO4W_ROOT%\apps\qgis\bin;%PATH%
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT:\=/%/apps/qgis
set GDAL_FILENAME_IS_UTF8=YES
rem Set VSI cache to be used as buffer, see #6448
set VSI_CACHE=TRUE
set VSI_CACHE_SIZE=1000000
set
QT_PLUGIN_PATH=%OSGEO4W_ROOT%\apps\qgis\qtplugins;%OSGEO4W_ROOT%\apps\Qt5\plugins
start "QGIS" /B "%OSGEO4W_ROOT%"\bin\qgis-bin-g7.4.0.exe %* 

How can i open the project file directly with the specific qgis
Version?

Thanks, 
Juerg Lindauer

 
Amt für Landwirtschaft
Abt. Agrarmassnahmen und Bodenrecht
Hirschistrasse 15
Postfach 5182 
6431 Schwyz
Telefon: 041 819 15 17
Telefax: 041 819 15 19
E-Mail: juerg.lindauer at sz.ch
Internet: www.sz.ch/landwirtschaft 





More information about the Qgis-user mailing list