home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / DIR / ELIM10.ZIP / DEMO.BAT < prev    next >
Encoding:
DOS Batch File  |  1990-11-24  |  518 b   |  27 lines

  1. echo off
  2. CREATE A B
  3. echo You have just created a zero-byte file on your disk called
  4. echo A B.  We shall now try to delete that file by using the
  5. echo command
  6. echo
  7. echo DEL A B
  8. echo
  9. pause
  10. cls
  11. DEL A B
  12. echo
  13. echo Notice the response.  A DIR operation reveals the file is
  14. echo still there:
  15. DIR A*
  16. echo
  17. echo Now we shall use ELIM to delete this file, using the command
  18. echo 
  19. echo ELIM A B
  20. echo
  21. pause
  22. cls
  23. ELIM A B
  24. echo
  25. echo Now the file A B is no longer on your disk. Here's the DIR:
  26. DIR A*
  27.