Search found 1 match

by playforkeeps
06 Aug 2013 09:39
Forum: DOS Batch Forum
Topic: Bat file scripting parsing log entries by date/time
Replies: 1
Views: 2519

Bat file scripting parsing log entries by date/time

Hi All Can anyone help me with this please. I am using the following bat file code to search through an IIS log file a return the total count of GET requests. @ECHO OFF SET logfolder=\\127.0.0.1\c$\WINDOWS\system32\LogFiles\W3SVC1 SET /a counter=0 :: get newest file FOR /F %%f IN ('DIR %logfolder% /...