home *** CD-ROM | disk | FTP | other *** search
/ CD Shareware Magazine 1996 December / CD_shareware_12-96.iso / DOS / Comunic / APOTH16.ZIP / UPGRADE.BAT < prev   
Encoding:
DOS Batch File  |  1996-05-12  |  1.2 KB  |  35 lines

  1. @ECHO OFF
  2.  
  3. if %1a == a then goto HELP
  4.  
  5. :START
  6. echo. Now upgrading The Apothecary to v1.6...
  7. echo. Moving data files to the appropriate directory...
  8. move %1\atime.dat atime.dat
  9. echo. Complete!  That was easy, wasn't it?
  10. if %2 == Y then goto RESET
  11. if %2 == y then goto RESET
  12. goto EXIT
  13.  
  14. :HELP
  15. echo. {---------------------------------------------------------------------}
  16. echo. { The Apothecary Upgrade Batch File v1.6                              }
  17. echo. {                                                                     }
  18. echo. { Proper usage thereof is:                                            }
  19. echo. {  upgrade x:\path\to\lord [Y]         *MUST* be run from Apoth dir...}
  20. echo. {                                                                     }
  21. echo. { Path to lord is obviously path to LORD.                             }
  22. echo. { Optional switch Y is if you want to reset The Apothecary along with }
  23. echo. { upgrading it.                                                       }
  24. echo. {---------------------------------------------------------------------}
  25. goto EXIT
  26.  
  27. :RESET
  28. echo.  Now resetting The Apothecary...
  29. apoth.exe reset
  30. echo.  Completed.   Thanks for using The Apothecary Upgrade
  31. goto EXIT
  32.  
  33. :EXIT
  34.  
  35.