Computing.Net > Forums > Programming > redirect findstr output

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

redirect findstr output

Reply to Message Icon

Name: Mechanix2Go
Date: October 6, 2009 at 11:13:47 Pacific
OS: 2K SP4
CPU/Ram: AMD Ath 64X2 2GB
Product: Clone / X
Subcategory: Batch
Comment:

This:

findstr /b \" before > log

gives me the lines found and this:

FINDSTR: Cannot open log

What am I missing here?


=====================================
Helping others achieve escape felicity

M2



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: October 6, 2009 at 11:52:37 Pacific
Reply:

A second double quote, according to CMD's command line parser.

OR: Congrat's on finding a bug in CMD.

For reference, I find this works (On XP SP3):

type before | findstr /b "\" > log


0

Response Number 2
Name: Mechanix2Go
Date: October 6, 2009 at 11:59:00 Pacific
Reply:

R2,

TYPE works.

Thanks


=====================================
Helping others achieve escape felicity

M2


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: redirect findstr output

C# console output redirection www.computing.net/answers/programming/c-console-output-redirection/14059.html

SQLPlus - redirecting output www.computing.net/answers/programming/sqlplus-redirecting-output/7576.html

Redirected Output To HTML www.computing.net/answers/programming/redirected-output-to-html/19029.html