[GRASS-dev] Re: [GRASS GIS] #629: WinGRASS: spaces in pathnames

GRASS GIS trac at osgeo.org
Fri Aug 28 00:41:31 EDT 2009

#629: WinGRASS: spaces in pathnames
  Reporter:  hamish        |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect        |      Status:  new                      
  Priority:  normal        |   Milestone:  6.4.0                    
 Component:  Installation  |     Version:  6.4.0 RCs                
Resolution:                |    Keywords:  wingrass, msys           
  Platform:  MSWindows XP  |         Cpu:  x86-32                   
Comment (by cnielsen):

 Replying to [comment:14 hamish]:
 > maybe "Exec" + some `FOR /F ... SET UNIXPATH=~dps0` style DOS magic?
 > http://nsis.sourceforge.net/Docs/Chapter4.html#

 No luck so far, I managed to have the NSI script write a little batch
 file, which in turn writes the 8.3 shortname to a system variable with
 SETX. This value is then written to the fstab value, however it always
 writes the previous value of the variable instead... annoying. Also it is
 not really preferable to have a system environment variable permanently
 written for this purpose...

 > GRASS-Installer.nsi has code for that already?
 True but msys still has problems with "/c/Program\
 Files/GRASS/bin/grass64" as it strips out the \.

 On another similar note, I had an error with v.digit failing to write to
 the dbf because the GIS Database path had a space in it (which is the
 default in the installer).

Ticket URL: <https://trac.osgeo.org/grass/ticket/629#comment:15>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list