home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / educ / freest1.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-04-11  |  2KB  |  83 lines

  1. echo off
  2. IF %1NOTHING==NOTHING GOTO ERROR1
  3. IF %2NOTHING==NOTHING GOTO ERROR1
  4. IF %1==%2 GOTO ERROR1
  5. IF NOT EXIST FREESTAT.EXE GOTO ERROR2
  6.  
  7. cls
  8. echo :
  9. echo :
  10. echo :
  11. echo :
  12. echo :
  13. echo : When you press the Enter key the WALMYR FREESTAT Program will be
  14. echo : stored on the hard disk you indicated.  This procedure will
  15. echo : create a directory named FREESTAT and then store the program within
  16. echo : that directory.  If you wish to continue with this installation
  17. echo : just tap the Enter key.  If you wish to terminate installation,
  18. echo : hold down the Ctrl key and then tap the letter c.
  19. echo :
  20. echo :
  21. echo :
  22. echo :
  23. echo :
  24. pause
  25.  
  26. cls
  27. echo :
  28. echo :
  29. echo :
  30. echo :
  31. echo :
  32. echo :                       One Moment Please ...
  33. echo :
  34. echo :        The FREESTAT Program is being installed for you.
  35. echo :
  36. echo :
  37. echo :
  38. echo :
  39. echo :
  40.  
  41. MD %2\FREESTAT > NUL
  42. %2
  43. CD\FREESTAT
  44. COPY %1*.* > NUL
  45. DISK2 %1
  46. GOTO END
  47.  
  48. :ERROR1
  49. cls
  50. echo :
  51. echo :
  52. echo :
  53. echo :
  54. echo :
  55. echo : You failed to indicate the proper drives for the installation
  56. echo : of the FREESTAT program.  The installation command must be
  57. echo : issued as "INSTALL SD: DD:" where SD is replaced by the
  58. echo : letter of the source drive and DD is the hard disk you wish to
  59. echo : use. Example: INSTALL A: C:    Please try again.
  60. echo :
  61. echo :
  62. echo :
  63. echo :
  64. echo :
  65. GOTO END
  66.  
  67. :ERROR2
  68. cls
  69. echo :
  70. echo :
  71. echo :
  72. echo :
  73. echo :
  74. echo : You are not logged onto the drive which contains the FREESTAT
  75. echo : Program Disk 1.  Get into that drive and try again.
  76. echo :
  77. echo :
  78. echo :
  79. echo :
  80. echo :
  81.  
  82. :END
  83.