home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / BBS / SBBS1B00.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-09-26  |  2KB  |  85 lines

  1. @echo off
  2. cls
  3. if exist install.bat goto start
  4. echo The installation files must be on the current drive.
  5. echo.
  6. echo Example:
  7. echo.
  8. echo If you are installing from the A: drive, type "A:", [ENTER], "INSTALL".
  9. goto end
  10. :start
  11. echo Synchronet Installation
  12. echo =======================
  13. echo.
  14. if not '%1'=='' goto 1
  15. echo Installing to: 
  16. echo.
  17. cd
  18. echo.
  19. echo If the above path is not the desired destination of Synchronet, hit Ctrl-C
  20. echo now to terminate installation and run INSTALL with the desired destination
  21. echo path as a parameter.
  22. echo.
  23. echo    Example: INSTALL C:\SBBS
  24. echo.
  25. echo If you have not already created the destination directory, you must do so
  26. echo before running INSTALL.
  27. echo.
  28. echo    Example: MD C:\SBBS
  29. echo.
  30. echo Hit any key to continue installation or Ctrl-C to terminate.
  31. pause > nul
  32. :1
  33. if exist exec.exe goto 2
  34. sbbs -d %1
  35. if errorlevel 1 goto err
  36. echo.
  37. echo Place next disk in drive. Hit ENTER to continue or Ctrl-C to abort.
  38. pause > nul
  39. goto 1
  40. :2
  41. exec -d %1
  42. if errorlevel 1 goto err
  43. :3
  44. if exist ctrl.exe goto 4
  45. echo.
  46. echo Place next disk in drive. Hit ENTER to continue or Ctrl-C to abort.
  47. pause > nul
  48. goto 3
  49. :4
  50. ctrl -d %1
  51. if errorlevel 1 goto err
  52. text -d %1
  53. if errorlevel 1 goto err
  54. docs -d %1
  55. if errorlevel 1 goto err
  56. if exist xtrn.exe xtrn -d %1
  57. if errorlevel 1 goto err
  58. node -d %1
  59. if errorlevel 1 goto err
  60. echo.
  61. echo Installed.
  62. echo.
  63. if '%1'=='' goto curdir
  64. cls
  65. echo You must now change the current drive and directory to %1 and then type:
  66. echo CD NODE1
  67. echo SHARE
  68. echo SBBS
  69. goto end
  70. :curdir
  71. cd node1
  72. echo Configuring...
  73. ..\exec\scfg ..\ctrl
  74. echo You MUST run SHARE.EXE (if not on NetWare Network). SHARE is a program 
  75. echo that is distributed with MS-DOS and PC-DOS v3.0 and higher and must be 
  76. echo executed prior to running SBBS.
  77. echo.
  78. echo After you have loaded SHARE, type SBBS from THIS directory.
  79. goto end
  80. :err
  81. echo.
  82. echo Installation error.
  83. :end
  84. echo.
  85.