[GRASS-dev] Re: [GRASS GIS] #1178: WinGrass: g.extension - problem with path to $GISBASE

GRASS GIS trac at osgeo.org
Sun Sep 26 18:03:42 EDT 2010


#1178: WinGrass: g.extension - problem with path to $GISBASE
---------------------------------------------------------------+------------
 Reporter:  hellik                                             |       Owner:  grass-dev@…              
     Type:  defect                                             |      Status:  new                      
 Priority:  major                                              |   Milestone:  6.4.1                    
Component:  Installation                                       |     Version:  svn-releasebranch64      
 Keywords:  wingrass, g.extension, path, installation, addons  |    Platform:  MSWindows Vista          
      Cpu:  x86-32                                             |  
---------------------------------------------------------------+------------

Comment(by hamish):

 Replying to [comment:6 glynn]:
 > The only workaround I know is to use 8.3 names (e.g. "/c/progra~1"
 > rather than "/c/Program Files"), but I don't know how to perform
 > that conversion from within a script (from C, you can use
 > GetShortPathName()).

 maybe we could expose that function as a new -s flag of g.dirseps?


 As Helmut noted, and IIRC the Windows installer scripts use somewhere,
 there is a Windows XP batch file solution to shortening them as well. The
 answer will be in our own archives from 6 months ago or so as I remember
 testing it.


 Hamish

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1178#comment:11>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list