Findstr with long strings

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
yonitda
Posts: 1
Joined: 26 Sep 2006 06:09

Findstr with long strings

#1 Post by yonitda » 26 Sep 2006 06:15

Hi,
I'm using the command findstr but apparently the string I'm searching for is too long. Is there any alternative or any other way to bypass this problem?
Thanks
Yonit

DosItHelp
Expert
Posts: 239
Joined: 18 Feb 2006 19:54

#2 Post by DosItHelp » 26 Sep 2006 21:57

yonitda,

Indeed findstr shows a "FINDSTR: Search string too long." error when the search string is longer than 127 characters.
The find command doesn't have this limitation.

DOS IT HELP?

If not let me know there are other options :wink:

Post Reply