Dear Steven and Jeremy,

Can the following be of use to your "help" files?
I could also publish it on my website?? (reciprocol links and some extra
traffic would be nice)

############## START ##############
rem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rem BAT file routine (saved as logs.bat) to do the following on Windows 98SE
computer (offline) .....
rem Extract GZ compressed log files using PowerArchiver command line (PACL)
utility (http://www.conexware.com/pacl.html)
rem Note: You need to add "SET PATH=C:\PACL" to your autoexec.bat (assuming
you extract PACL there)
rem Analyse Log Files using Analog and separate cfg files for each set of
log files (website)
rem Make pretty pictures with ReportMagic again using a separate *.ini for
each set of log files (website)
rem Open each websites report in a separate Internet Explorer Window
rem Written by John E. Hersey, Hersey & Associates CC,
http://www.hersey.co.za on 24th August 2002

rem Part 1 - extracting logfiles
rem  Extracted all files in current folder (..\LogFiles\..) to extracted
folders (..\LogFilesE\..)
rem "-o-" option suppresses overwriting of previously extracted log files
cd C:\Mydocu~1\LogFiles\Birdwatching
paext -o- -p"C:\My Documents\LogFilesE\Birdwatching" *.gz
cd C:\Mydocu~1\LogFiles\Cfw
paext -o- -p"C:\My Documents\LogFilesE\Cfw" *.gz
cd C:\Mydocu~1\LogFiles\Hersey
paext -o- -p"C:\My Documents\LogFilesE\Hersey" *.gz

rem Part 2 - Analyse Log Files using Analog and separate cfg files for each
set of log files (website)
rem Example of hersey.cfg for Analog follows:-
rem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rem # The logfile(s) to be analysed
rem LOGFILE C:\MyDocu~1\LogFilesE\Hersey\*.200
rem #
rem # Your organisation's name and URL for the top line of the report
rem HOSTNAME "[Hersey & Associates CC]"
rem HOSTURL http://www.hersey.co.za
rem #
rem # Where to write the report
rem OUTPUT COMPUTER
rem outfile C:\MyDocu~1\LogFilesE\Hersey\hersey.dat
rem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

cd "C:\Program Files\Analog"
analog.exe +gbirdwatching.cfg
analog.exe +gcfw.cfg
analog.exe +ghersey.cfg

rem  Part 3 - Make nice pictures with ReportMagic again using a separate
*.ini for each set of log files (website)
rem because it's important to be nice
rem Example of hersey.ini for ReportMagic follows:-
rem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rem [statistics]
rem #File_In = report.dat
rem File_In =  C:\My Documents\LogFilesE\Hersey\hersey.dat
rem
rem [reports]
rem Active_Column=R
rem File_Out = C:\My Documents\LogFilesE\Hersey\reports\
rem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

rem    Note: I have ReportMagic as a sub-directory (folder) of Analog
cd "C:\Program Files\Analog\ReportMagic"
rmagic birdwatching.ini
rmagic cfw.ini
rmagic hersey.ini

rem Part 4 - Open each websites report in a separate Internet Explorer
Window
cd "C:\Program Files\Internet Explorer\"
iexplore.exe C:\My Documents\LogFilesE\Birdwatching\reports\index.html
iexplore.exe C:\My Documents\LogFilesE\Cfw\reports\index.html
iexplore.exe C:\My Documents\LogFilesE\Hersey\reports\index.html
############## END ##############


best regards
John E. Hersey
HERSEY & Associates CC
TEL: (021) 531 22 37
-----------------------------
Email: [EMAIL PROTECTED]
URL: http://www.hersey.co.za
Simple - Effective - Computing - Solutions
"We'll move your Internet world for you!"


+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/[email protected]/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to