home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / utility / tsutle22.zip / TDELTEST.BAT < prev    next >
DOS Batch File  |  1991-12-01  |  928b  |  32 lines

  1. echo off
  2. echo.
  3. echo ┌───────────────────────────────────────────────────────────┐
  4. echo │ Make test directories and files to practice with TDEL.EXE │
  5. echo │ By Prof. Timo Salmi, ts@chyde.uwasa.fi, Sun 1-Dec-1991    │
  6. echo └───────────────────────────────────────────────────────────┘
  7. echo.
  8.  
  9. rem Check that you have the drive r: available (I have r: as ramdisk)
  10. rem If not, adjust as appropriate
  11. if not exist r:\nul goto _no_r
  12.  
  13. rem Make two test directories and put some files in them
  14. mkdir r:\testdir
  15. mkdir r:\testdir\subdir1
  16. mkdir r:\testdir\subdir1\level3
  17. mkdir r:\testdir\subdir2
  18. copy c:\autoexec.bat r:\testdir
  19. copy *.bat r:\testdir\subdir1 > nul
  20. copy c:\config.sys r:\testdir\subdir1\level3
  21. copy c:\autoexec.bat r:\testdir\subdir2
  22. ren  r:\testdir\subdir2\autoexec.bat level2.bat
  23. goto _out
  24.  
  25. :_no_r
  26. echo Drive R: not found
  27. echo Adjust your configuration or this batch
  28. goto _out
  29.  
  30. :_out
  31. echo on
  32.