View Complete Thread
  • Re: Compress and archive IIS Logs

    Oct 13, 2006 12:42 PM|steve schofield|LINK

    If you are referring to the script posted.  All you need to do is specify the start folder in your command line argument.  There shouldn't be a need to update the script unless the gzip.exe location is different than specified in the script.    Here is the portion of the script that read the VBS arguments and kicks off the zipping process.  Sorry to hear you didn't like IISLogsLite.  The script below should meet your needs. Good luck.

    If WScript.Arguments.Count <> 1 Then
     WScript.Echo "weblogs.vbs startdirectory"
     WScript.Quit (1)
    End If

    Steve Schofield
    Windows Server MVP - IIS
    http://iislogs.com/steveschofield
    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget