Category : System Diagnostics for your computer
Archive   : RESLOG.ZIP
Filename : READLOG.BAT

 
Output of file : READLOG.BAT contained in archive : RESLOG.ZIP
echo off
if not .%1 == . goto ok
echo ÿ
echo Format: readlog mmyy [outfile][lpt1] [/a /n]
echo Switches: /n = numeric order (default) /a = alphabetic order
goto end
:ok
if exist sys%1.log goto ok2
echo SYS%1.LOG not found!
goto end
:ok2
cls
if .%2 == . goto sw1
if .%2 == ./n goto sw1
if .%2 == ./a goto alph
goto file
:sw1
if .%3 == ./a goto both
rdlog goto end
:both
rdlog goto end
:alph
rdlog /a goto end
:file
if .%3 == ./n goto fnum
if .%3 == . goto fnum
if .%3 == ./a goto falph
:fnum
if .%4 == ./a goto fboth
rdlog %2
goto fend
:fboth
rdlog /a /n %2
goto fend
:falph
rdlog /a %2
:fend
if exist %2 goto fok
echo File %2 could not be created.
goto end
:fok
echo Results now in %2
:end


  3 Responses to “Category : System Diagnostics for your computer
Archive   : RESLOG.ZIP
Filename : READLOG.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/