Findstr is a DOS command. WindowsXP is no longer DOS based.
The Command Prompt (CMD) is a simulator and has had some
changes within XP. See below.
Microsoft Windows XP - Findstr
http://www.microsoft.com/resources/d....mspx?mfr=true
Windows XP DOS Commands
http://www.fsref.com/pr/dosxp.htm
--
XP - WNP
Today is the first day of the
rest of your life.
If you find this response helpful,
rate it below.
"Ian Clapcott" wrote:
> echo ZNOTEBOOKZ|findstr "ZBBBBBHORSEZ ZNNNNNDHORSEZ ZNOTEBOOKZ"
>
> This seems to work (i.e., returns ZNOTEBOOKZ) on Windows 2000 however, on
> Windows 2003 - it doesn't!
>
> Windows 2000 findstr version - 5.0.2147.1
> Windows 2003 findstr version - 5.2.3790.1830
>
> However...
>
> echo ZNOTEBOOKZ|findstr "ZBBBBBHORSEZ ZNNNZ ZNOTEBOOKZ"
>
> This works (i.e., returns ZNOTEBOOKZ) on both Windows 2000 and Windows 2003
>
> Is this a bug? It has broken one of our scripts!!!
>