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

  1. echo off 
  2. cls
  3. echo *********************************************************************
  4. echo *                                                                   *
  5. echo *                   DISCatalog Installation                         *
  6. echo *********************************************************************
  7. echo *                                                                   *
  8. echo *                                                                   *
  9.  
  10. if not "%1" == "" goto cont1
  11. :definst
  12. echo *         The DISCatalog files will be installed in                 *
  13. echo *            directory C:\DISC on your hard disk.                   *
  14. echo *                                                                   *
  15. echo *  If you want to install DISCatalog in another directory, or on    *
  16. echo *  another hard disk (e.g. on drive D:), exit from this installation*
  17. echo *  and see section 7.3 of the DISCatalog User's Manual.             *
  18. echo *                                                                   *
  19. echo *                                                                   *
  20. echo *                                                                   *
  21. echo *  To exit from this installation, press the ctrl (CONTROL) key     *
  22. echo *  and the C key simultaneously (then press Y to exit).             *
  23. echo *                                                                   *
  24. echo *                                                                   *
  25. echo *  To continue with the installation :                              *
  26. pause
  27.  
  28. md c:\disc > nul:
  29. cd c:\disc > nul:
  30. copy install2.bat c: /v
  31. c:install2
  32.  
  33.  
  34.  
  35. :cont1
  36. echo *     The DISCatalog files will be installed on %1:%2
  37. echo *                                                                   *
  38. echo *  To exit from this installation, press the ctrl (CONTROL) key     *
  39. echo *  and the C key simultaneously (then press Y to exit).             *
  40. echo *                                                                   *
  41. echo *                                                                   *
  42. echo *                                                                   *
  43. echo *                                                                   *
  44. echo *                                                                   *
  45. echo *                                                                   *
  46. echo *                                                                   *
  47. echo *                                                                   *
  48. echo *                                                                   *
  49. echo *********************************************************************
  50.  
  51. pause
  52. if "%2" == "" goto dun
  53. md %1:%2 > nul:
  54. cd %1:%2 > nul:
  55. goto dun
  56.  
  57. :dun
  58. copy install2.bat %1: /v
  59. %1:install2 %1 %2
  60.