Category : Batch File Utilities - mostly for DOS
Archive   : ISWIN.ZIP
Filename : CHKDSK.BAT
@Echo OFF
Rem ChkDsk.Bat 07-02-91 tem
Rem Runs renamed chkdsk to prevent exec under Windows which can corrupt
Rem files. Errorlevel 0 if not under Windows; 255 if under Windows.
Rem Source:
Rem InfoWorld Magazine; July 1, 1991, page 19 article titled
Rem Window Manager, by Brian Livingston.
Rem Debug source code by Fran Finnegan in MS Journal, 3/91.
Rem ----- Set envir pointer to dos dir if not already set...
If X%dos%==X Set dos=C:\DOS
Rem ----- Point to wherever you put iswin.com...
%dos%\iswin
If Errorlevel 255 GOTO @WIN
Rem ----- Point to wherever you put chkdsk33 or 40 or 50 or xx...
%dos%\chkdsk33 %1 %2 %3 %4
GOTO @FINIS
:@WIN
Echo ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
Echo You are running under Windows at this time.
Echo DO NOT run chkdsk while under Windows, or from a shell.
Echo Chkdsk with /f may handle open files as if they were lost files!
Echo That could result in fragmenting them into FILE000x.CHK
Echo files, thus destroying their integrity.
Echo ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
:@FINIS
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
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/