home *** CD-ROM | disk | FTP | other *** search
/ The California Collection / TheCaliforniaCollection.cdr / his010 / lists625.exe / INSTALL.BAT < prev    next >
DOS Batch File  |  1989-11-03  |  2KB  |  67 lines

  1. echo off
  2. cls
  3. echo 
  4. echo                    LIST MANAGER VERSION 6.25
  5. echo                     HARD DISK INSTALLATION 
  6. echo 
  7. if "%1==" goto Helpinst
  8. echo    You can copy the LISTS MANAGER to your hard disk  by following
  9. echo    this installation  procedure.  The program and data files will   
  10. echo    be installed in a directory of  the drive you entered  labeled
  11. echo    "%1:\LISTS" from the origional files on this distribution disk.
  12. echo 
  13. echo 
  14. echo    The LISTS MANAGER will be installed on drive %1:
  15. echo 
  16. ask "   Is all correct to begin installing the program ? (Y/N)  ", yn
  17. if ERRORLEVEL 1 goto START
  18. if ERRORLEVEL 2 goto END
  19. goto END
  20. :START
  21. if exist c:\config.sys goto BEGIN
  22. copy a:\config.smp c:\config.sys
  23. :BEGIN
  24. if exist %1:\LISTS\LISTS.EXE goto ErrExist
  25. if exist %1:\LISTS\LIST.dbf goto ErrExist
  26. echo 
  27. echo    Copying files to drive %1:\LISTS        
  28. echo 
  29. copy LISTS.bax %1:\LISTS.bat
  30. md %1:\lists
  31. copy LISTS.exe %1:\lists\LISTS.exe
  32. copy LIST.dbf %1:\lists\LIST.dbf
  33. copy LISTCAL.dbf %1:\lists\LISTCAL.dbf
  34. copy LISTKEY.dbf %1:\lists\LISTKEY.dbf
  35. copy LISTLET.dbf %1:\lists\LISTLET.dbf
  36. copy LISTDRV.dbf %1:\lists\LISTDRV.dbf
  37. copy TRAN.dbf %1:\lists\TRAN.dbf
  38. copy *.mem %1:\lists
  39. echo 
  40. echo 
  41. echo    The LISTS MANAGER has been successfully installed on %1:\LISTS
  42. goto END
  43. :Helpinst
  44. echo 
  45. echo 
  46. echo              Install is aborted!!
  47. echo 
  48. echo    You entered the command incorrectly.   The correct syntax is:
  49. echo 
  50. echo        " INSTALL C "     To install the LISTS MANAGER on drive C:
  51. echo 
  52. echo    Use the destination drive letter appropriate for your install. 
  53. goto END
  54. :ErrExist
  55. echo 
  56. echo 
  57. echo    Install is aborted!!
  58. echo 
  59. echo    LISTS MANAGER files already exists on drive %1:\LISTS
  60. echo    please check before re-running install
  61. goto END
  62. :END
  63. echo 
  64. echo 
  65. pause
  66. cls
  67.