home *** CD-ROM | disk | FTP | other *** search
/ Hacker Chronicles 2 / HACKER2.BIN / 258.INSTALL2.BAT < prev    next >
DOS Batch File  |  1987-09-28  |  3KB  |  83 lines

  1. cls
  2. echo *********************************************************************
  3. echo *                                                                   *
  4. echo *                   DISCatalog Installation                         *
  5. echo *********************************************************************
  6.  
  7. if not "%1" == "" goto cont1
  8. if exist c:\disc\disc.exe del c:\disc\*.dat
  9. if exist c:\disc\disc.exe del c:\disc\*.dc1
  10. if exist c:\disc\disc.exe del c:\disc\*.scr
  11. if exist c:\disc\disc.exe del c:\disc\*.hlp
  12. if exist c:\disc\disc.exe del c:\disc\install.bat
  13. if exist c:\disc\uninstal.bat del c:\disc\uninstal.bat
  14. if exist c:\disc\disc.exe del c:\disc\disc.exe
  15. copy *.* c:\disc\*.* /v
  16. modhid uregis.dat
  17. copy regis.dat c:\disc\regis.dat /v > nul:
  18. modhid hregis.dat
  19. modhid hc:\disc\regis.dat
  20.  
  21. if exist c:\disc\cbtfin.dat goto cdun
  22.  
  23. echo *
  24. echo *
  25. echo      Replace DISCatalog Program Disk (# 1) with the Data Disk (# 2)
  26. echo *
  27. pause
  28.  
  29. copy *.* c:\disc\*.* /v
  30.  
  31. :cdun
  32. c:
  33. goto dun
  34.  
  35. :cont1
  36. if exist %1:%2\disc.exe del %1:%2\*.dat
  37. if exist %1:%2\disc.exe del %1:%2\*.dc1
  38. if exist %1:%2\disc.exe del %1:%2\*.scr
  39. if exist %1:%2\disc.exe del %1:%2\*.hlp
  40. if exist %1:%2\disc.exe del %1:%2\install.bat
  41. if exist %1:%2\uninstal.bat del %1:%2\uninstal.bat
  42. if exist %1:%2\disc.exe del %1:%2\disc.exe
  43. copy *.* %1:%2\*.* /v
  44. modhid uregis.dat
  45. copy regis.dat %1:%2\regis.dat /v > nul:
  46. modhid hregis.dat
  47. modhid h%1:%2\regis.dat
  48.  
  49. if exist %1:%2\cbtfin.dat goto othrdun
  50.  
  51. echo *
  52. echo *
  53. echo      Replace DISCatalog Program Disk (# 1) with the Data Disk (# 2)
  54. echo *
  55. pause
  56. copy *.* %1:%2\*.* /v
  57.  
  58. :othrdun
  59. %1:
  60. goto dun
  61.  
  62. :dun
  63. cls
  64. echo *********************************************************************
  65. echo *                                                                   *
  66. echo *                   DISCatalog Installation                         *
  67. echo *********************************************************************
  68. echo *                                                                   *
  69. echo *                                                                   *
  70. echo *                                                                   *
  71. echo *                                                                   *
  72. echo *                 DISCatalog has now been installed                 *
  73. echo *                                                                   *
  74. echo *                                                                   *
  75. echo *      Type DISC and press the ENTER key to run DISCatalog          *
  76. echo *                                                                   *
  77. echo *                                                                   *
  78. echo *                                                                   *
  79. echo *                                                                   *
  80. echo *                                                                   *
  81. echo *                                                                   *
  82. echo *********************************************************************
  83.