home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / open / voyetra4.lzh / UINSTALL.BAT < prev    next >
DOS Batch File  |  1989-02-23  |  2KB  |  61 lines

  1. echo off
  2. cls
  3. if "%1"=="" goto :inst
  4. type blank
  5. echo          ╔═══════════════════════════════════════════════════════╗
  6. echo          ║  Voyetra Technologies DEMO PACKAGE Uninstall Program  ║
  7. echo          ║                    W A R N I N G !                    ║
  8. echo          ║   This Program will erase Voyetra DEMO programs and   ║
  9. echo          ║             Sub-directories on Drive %1:               ║
  10. echo          ║                                                       ║
  11. echo          ║       Answer "Y" to all "Are You Sure?" prompts.      ║
  12. echo          ║    Press Ctrl-C to Quit, any other key to proceed:    ║
  13. echo          ╚═══════════════════════════════════════════════════════╝
  14. pause >nul
  15. type blank
  16. %1:
  17. cd..
  18. a:
  19. cls
  20. type blank
  21. echo           Erasing Files....
  22. echo on
  23. del %1:\voydemo\showp\*.*
  24. del %1:\voydemo\showm\*.*
  25. del %1:\voydemo\pm\*.*
  26. del %1:\voydemo\sp\*.*
  27. del %1:\voydemo\*.*
  28. echo off
  29. cls
  30. type blank
  31. echo           Erasing Subdirectories....
  32. echo on
  33. rd %1:\voydemo\showp
  34. rd %1:\voydemo\showm
  35. rd %1:\voydemo\sp
  36. rd %1:\voydemo\pm
  37. rd %1:\voydemo
  38. echo off
  39. cls
  40. type blank
  41. echo             Completed.  You may now re-install the DEMO PACKAGE
  42. echo                       if desired by typing INSTALL.
  43. goto :exit
  44.  
  45. :inst
  46. type blank
  47. echo          ╔════════════════════════════════════════════════════════╗
  48. echo          ║  Voyetra Technologies DEMO PACKAGE Un-Install Program  ║ 
  49. echo          ║                                                        ║
  50. echo          ║  To Un-Install your DEMO PACKAGE off Drive C: type:    ║
  51. echo          ║                                                        ║
  52. echo          ║                      UINSTALL C                        ║
  53. echo          ║                                                        ║
  54. echo          ║  To Un-Install from any other Drive, Just Substitute   ║
  55. echo          ║       the Drive Letter.  For Example: UINSTALL D       ║
  56. echo          ╚════════════════════════════════════════════════════════╝
  57. type blank    
  58.  
  59. :exit
  60.  
  61.