home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / UTILS1 / DOUBLE.ZIP / TEST_DRV.BAT < prev   
DOS Batch File  |  1994-02-06  |  1KB  |  33 lines

  1. @echo off
  2. goto Start
  3.                         ┌────────────────────
  4.                         │    TEST_DRV.BAT    █
  5.                          ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  6.  
  7.                        Sat  02-05-1994  23:19:58
  8.  
  9.      This batch file calls a 2nd batch file to process all drives from A
  10.      to N to see if any are Double Space compressed drives. There is no
  11.      error checking as the *.COM file ISIT_DBL.COM doesn't care if it is
  12.      checking an illegal drive, it just knows if it is compressed or
  13.      not. TEST_DRV.BAT uses the fiendish batch file command "FOR IN DO"
  14.      that Neil Rubenking is so very fond of and which I normally avoid
  15.      like the plague as it is so hard to understand.
  16.  
  17.      TEST_DRV.BAT uses "FOR IN DO" as a LOOP to process every drive
  18.      letter using DBL.BAT.
  19.  
  20.      Weird... but it works.
  21.  
  22.      John De Palma on CompuServe 76076,571
  23.  
  24. :Start
  25. if not exist dbl.bat goto Error
  26. for %%v in (A B C D E F G H I J K L M N) do call dbl.bat %%v:
  27. goto End
  28. :Error
  29. echo 
  30. echo Uh.... must have DBL.BAT to run this batch file....ENDING..
  31. pause
  32. :End
  33.