Hi Wolfgang,

you can start QGIS with a command line option *--code *followed by the path and scriptname, for example in a BAT file

Best regards

stefan
**

Am 06.12.2021 um 17:31 schrieb Wolfgang Meinolf:

Hi,

I like to implement a centrally controlled QGIS environment for our workforce using startup.py. Is there any trick, to put startup.py on a network folder instead the user’s QGIS folder i.e. under Windows %user%\AppData\Roaming\QGIS\QGIS3?

PYQGIS_STARTUP environment variable to change the location does unfortunately not work.

Thanks

Wolfgang


_______________________________________________
Qgis-user mailing list
[email protected]
List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user

--
Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant
------------------------------------------------------
Aufwind durch Wissen!
Jetzt neu: Webinare und Online-Schulungen
bei derwww.foss-academy.com
------------------------------------------------------

WhereGroup GmbH
Schwimmbadstr. 2
79100 Freiburg
Germany

Fon: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11

[email protected]
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to