Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#315 closed defect (fixed)

Spaces in install path breaks OSGeo4W.bat

Reported by: aharfoot Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: 1.0 Keywords: shell
Cc:

Description

If the OSGeo4W.bat command shell initialising script is run from a location with spaces in the directory path, then it will fail. This issue is commonly encountered when using the standalone QGIS installer (1.8.0.1) as the default Windows install path is C:\Program Files\Quantum GIS...

The following QGIS bug report gives modifications to two of the batch files called in the initialisation sequence (osgeo4w.bat and o-help.bat) that appear to solve the problem.

http://hub.qgis.org/issues/5345

OSGeo4W command shell package: 1.0.0.10 OS: Windows 7 64 bit

Change History (2)

comment:1 by maphew, 11 years ago

Resolution: fixed
Status: newclosed

thank you for reporting this. I've fixed both batch files and updated pkg-shell. They both work locally on my machine with osgeo4w_root set to a path with spaces. Please test and re-open if needed.

comment:2 by maphew, 11 years ago

Keywords: shell added; batch file removed
Note: See TracTickets for help on using tickets.