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


Can you please confim that is the complete, literal command to cause a crash? And is it a crash or a hang? Because on my Win7x64 machine

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

just waits for further input (the command is missing the thing to search _in_), pressing [enter] gives a line feed, and ctrl-c exits back to prompt. No crash.

This is a complete command which (should) actually find something:

   echo ^"c:\test|findstr /i /r /c:^"^^\"[a-zA-Z]:[\\/][^\\/]"

matt wilkie
--------------------------------------------
Geomatics Analyst
Information Management and Technology
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
http://environmentyukon.gov.yk.ca/geomatics/
--------------------------------------------

On 28-Jun-2012 10:06 AM, Matt Wilkie wrote:
I've invited the author of addpath.bat and the Undocumented Findstr Features article to help troubleshoot this issue at http://chat.stackoverflow.com/rooms/13177/addpath-bat-and-findstr-troubles

matt wilkie
--------------------------------------------
Geomatics Analyst
Information Management and Technology
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
http://environmentyukon.gov.yk.ca/geomatics/
--------------------------------------------





_______________________________________________
osgeo4w-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev

Reply via email to