[Osgeo4w-trac] [osgeo4w] #295: findstr in addPath runs forever on windows7

OSGeo4W trac_osgeo4w at osgeo.org
Thu Jun 28 06:06:08 PDT 2012


#295: findstr in addPath runs forever on windows7
--------------------------+-------------------------------------------------
Reporter:  asgerpetersen  |       Owner:  osgeo4w-dev@…              
    Type:  defect         |      Status:  new                        
Priority:  major          |   Component:  Package                    
 Version:                 |    Keywords:                             
--------------------------+-------------------------------------------------

Comment(by asgerpetersen):

 Replying to [comment:9 jef]:
 > Well, it might have helped if the problem was caused by a (overly long)
 corrupted path. It might still be caused by some unexpected (danish?)
 characters in @PATH at .

 Here is my path:

 {{{
 C:\Users\asi>set path
 Path=C:\spatialsuite\app\perl\site\bin;C:\spatialsuite\app\perl\bin;C:\app\Oracl
 e\Ora11g_32Home\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\W
 indows\System32\WindowsPowerShell\v1.0\;C:\Program Files
 (x86)\QuickTime\QTSyste
 m\;C:\Program Files\ActivIdentity\ActivClient\;C:\Program Files
 (x86)\ActivIdent
 ity\ActivClient\;C:\Program Files (x86)\Hewlett-
 Packard\IAM\bin;C:\App\Script\;C
 :\App\Bin\;C:\App\SysInternals\;C:\Program Files\Java\jdk1.6.0_31\bin
 }}}

 I guess the difference is with findstr.

 It behaves differently on my XP and on my Win7 machines.
 This command

 {{{
 findstr /i /r /c:^"^^\"[a-zA-Z]:[\\/][^\\/]"
 }}}

 crashes findstr on Win7 but it doesnt on XP

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


More information about the Osgeo4w-trac mailing list