You can also set it system wide:
http://www.nextofwindows.com/how-to-addedit-environment-variables-in-windows-7
if you only need the connection in QGIS you can easily go with adjusting
qgis.bat but if you also would like to access the DB from other programs
it's a good idea to set it on system le
Thanks a lot, worked great! Great solution for us to just change the qgis.bat
after installation.
Benjamin Fünfer-Königstein
S-IP-AN-TG Techn. Geschäftsfelder
Von: Blumentrath, Stefan [mailto:stefan.blumentr...@nina.no]
Gesendet: Dienstag, 19. Juli 2016 11:33
An: Fuenfer-Koenigstein.Benjamin S-I
Maybe it helps to add the declaration of that environment variable to the
qgis.bat startup?
Cheers
Stefan
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.
Hi all,
is there a way to define environment variables in QGIS containing other
environment variables?
I would like to set PGSERVICEFILE to
C:\Users\%USERNAME%\.qgis2\.pg_service.conf
or
I:\QGIS\servicefiles\%USERNAME%\.pg_service.conf
as it works with windows. This would allow to use one QGIS-pr