[osgeo4w-dev] [osgeo4w] #315: Spaces in install path breaks OSGeo4W.bat

OSGeo4W trac_osgeo4w at osgeo.org
Wed Oct 31 06:43:27 PDT 2012

#315: Spaces in install path breaks OSGeo4W.bat
Reporter:  aharfoot  |       Owner:  osgeo4w-dev@…              
    Type:  defect    |      Status:  new                        
Priority:  major     |   Component:  Package                    
 Version:  1.0       |    Keywords:  batch file                 
 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 (
 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.


 OSGeo4W command shell package:
 OS: Windows 7 64 bit

Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/315>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

More information about the osgeo4w-dev mailing list