Category : Files from Magazines
Archive   : VOL8N11.ZIP
Filename : VOLTEST.BAT

 
Output of file : VOLTEST.BAT contained in archive : VOL8N11.ZIP
ECHO OFF
REM VOLTEST.BAT
IF "%2"=="" GOTO BadParams
FOR %%v IN (A: B: C: a: b: c:) DO IF %1==%%v GOTO OK
GOTO BadParams
:OK
VOL %1 | FIND "%2" > VOLFILE1.TXT
COPY VOLFILE1.TXT VOLFILE2.TXT > NUL
IF NOT EXIST VOLFILE2.TXT GOTO ERROR
ERASE VOLFILE1.TXT
ERASE VOLFILE2.TXT
ECHO The disk in drive %1 IS named "%2"
GOTO End
:ERROR
ECHO The disk in drive %1 IS NOT named "%2"
GOTO End
:BadParams
ECHO SYNTAX: "VOLTEST d: VOLUMELABEL"
ECHO Drive d: may be A:, B:, or C:
:End


  3 Responses to “Category : Files from Magazines
Archive   : VOL8N11.ZIP
Filename : VOLTEST.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/