PC Review


Reply
Thread Tools Rate Thread

findstr - broken???

 
 
=?Utf-8?B?SWFuIENsYXBjb3R0?=
Guest
Posts: n/a
 
      3rd Oct 2006
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!!!

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Qnl0ZQ==?=
Guest
Posts: n/a
 
      4th Oct 2006
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!!!
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FINDSTR questions =?Utf-8?B?TWlrZQ==?= Windows XP Help 1 13th Oct 2004 08:05 PM
FINDSTR question =?Utf-8?B?TWlrZQ==?= Windows XP Help 0 13th Oct 2004 06:27 PM
Re: findstr bug on XP Torgeir Bakken (MVP) Windows XP General 1 22nd Apr 2004 04:11 AM
VBA equivalent of findstr lothario Microsoft Excel Programming 2 12th Feb 2004 04:01 PM
FindStr in dotnet Bill Mittenzwey Microsoft C# .NET 0 3rd Dec 2003 11:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:52 PM.