findstr and copy the line

March 25, 2009 at 08:41:14
Specs: Windows XP
Hey, im trying to create a batch file that searches for all the strings containing "gsoki" in "Logs.txt" and copying the all the lines where "gsoki" is found and copying all the lines into "Results.txt".

Or instead of copying the lines into "Results.txt", displaying them as an @echo would work as well.

See More: findstr and copy the line

Report •

March 25, 2009 at 09:46:39
find "gsoki" < logs.txt > Results.txt

If at first you don't succeed, you're about average.


Report •

April 7, 2009 at 08:48:28
thanks for the help man

Report •

Related Solutions

Ask Question