Report from find commands

May 10, 2009 at 16:19:32
Specs: Windows XP
I have log files that are run daily for vpn traffic. I want a list of all the "PHASE 1 COMPLETE" text lines from each day pulled out and dropped into a new file.

The ending file will have all entries from the month in one file.

I am currently using: find "text" "path" >> "file to save to"

I need to add to the first path multiple dates for multiple files.

Thanks in advance

TK


See More: Report from find commands

Report •


#1
May 10, 2009 at 21:56:22
Run this and post a few lines.

==========================
@echo off > newfile & setLocal EnableDelayedExpansion

for /f "tokens=* delims=" %%a in ('dir/b *.log') do (
echo %%~Ta
)


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

M2


Report •
Related Solutions


Ask Question