home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / FINANAV1.ZIP / INSHARD.BAT < prev    next >
Encoding:
DOS Batch File  |  1986-03-20  |  1.7 KB  |  63 lines

  1. ECHO OFF
  2. CLS
  3. ECHO                     Financial Navigator
  4. ECHO              Installation for hard-disk system
  5. ECHO              *********************************
  6. ECHO   
  7. ECHO ** WELCOME!
  8. ECHO   
  9. ECHO    Before you continue with this procedure, please make certain
  10. ECHO    you have read the installation instructions for a hard disk system.
  11. ECHO   
  12. SET FN=%1
  13. IF "%1==" SET FN=C:\FN
  14. ECHO    We will now create a new subdirectory %FN%
  15. ECHO    and make it the current subdirectory.
  16. ECHO   
  17. ECHO    If you do NOT want your new subdirectory named %FN% then stop here
  18. ECHO    and type "INSHARD C:\xxxx" , where C:\xxxx is the name you want.
  19. ECHO   
  20. ECHO ** If you wish to continue, press any key.
  21. ECHO   
  22. ECHO    If you want to stop here, hold down [Ctrl] and press "C".
  23. ECHO    When you are asked if you want to "Terminate batch job (Y/N)?",
  24. ECHO    press "Y".
  25. PAUSE
  26. CLS
  27. ECHO ON
  28. MD %FN%
  29. CD %FN%
  30. ECHO OFF
  31. ECHO   
  32. ECHO ** Your new subdirectory:
  33. ECHO   
  34. CD
  35. ECHO   
  36. ECHO    has been created and will be the subdirectory
  37. ECHO    where the programs will be copied to.
  38. ECHO   
  39. ECHO    Please put write-protect tabs on your PROGRAM,
  40. ECHO    REPORTS, and UTILITY diskettes now.
  41. ECHO   
  42. ECHO ** If you wish to continue, press any key.
  43. ECHO   
  44. ECHO    If you want to stop here, hold down [Ctrl] and press "C".
  45. ECHO    When you are asked if you want to "Terminate batch job (Y/N)?",
  46. ECHO    press "Y".
  47. ECHO   
  48. PAUSE
  49. CLS
  50. ECHO ** We will now run the rest of the installation procedure from
  51. ECHO    the hard disk.
  52. :IFPROG
  53. ECHO   
  54. ECHO    Please make sure your PROGRAM diskette is in drive A:.
  55. ECHO   
  56. PAUSE
  57. IF NOT exist A:INSHARD1.BAT GOTO IFPROG
  58. SET FN=
  59. IF "%1==" SET FN=C:\
  60. ECHO ON
  61. COPY A:INSHARD1.BAT INSHARD1.BAT
  62. INSHARD1 %FN%
  63.