Check the path to qgis.bat in the script and change it if yours is different. Then, go to the QGIS-Desktop shortcut and in the options dialogue point to the vbs script as target. Your done - no more popping cmd windows when starting QGIS!
Set WshShell = CreateObject("WScript.Shell") WshShell.Run chr(34) & "C:\OSGeo4W\bin\qgis.bat" & Chr(34), 0 Set WshShell = Nothing
No comments :
Post a Comment