home *** CD-ROM | disk | FTP | other *** search
/ CD Action 8 A / cdactioncoverdisc / birthr / install.bat < prev    next >
DOS Batch File  |  1996-09-17  |  1KB  |  55 lines

  1. @echo off
  2. echo Installation of this demo will require 30 Meg of disk space available.
  3. choice Do you wish to continue
  4. if errorlevel 2 goto done
  5.  
  6. if "%1"=="?" goto usage
  7. if not "%1"=="" goto havedrive
  8. choice /CCD /N Type the drive letter you wish to use to install (C D):
  9. if errorlevel 2 goto ddrive
  10. set dr=c
  11. goto install
  12.  
  13. :ddrive
  14. set dr=d
  15. goto install
  16.  
  17. :havedrive
  18. set dr=%1
  19.  
  20. :install
  21. md %dr%:\brdemo
  22. brdemo -d %dr%:\brdemo
  23. %dr%:
  24. cd \brdemo
  25. echo .
  26. choice /N Would you like to run the Birthright demo now? 
  27. if errorlevel 2 goto no
  28.  
  29. choice /C12 /N Press 1 for Windows 95 or, 2 for DOS version (1 2):
  30. if errorlevel 2 goto dos
  31. brthrt95
  32. goto done
  33.  
  34. :dos
  35. birthrt
  36. goto done
  37.  
  38. :no
  39. echo Type birthrt at the prompt to start the DOS demo.
  40. echo Type brthrt95 at the prompt to start the Windows 95 demo.
  41. echo .
  42. echo For Windows 95 double click the Birthright icon
  43. echo in the \BRDEMO directory
  44. goto done
  45.  
  46. :usage
  47. echo Please include the drive letter where you wish to install
  48. echo the Birthright Demo
  49. echo .
  50. echo For example:
  51. echo install c
  52.  
  53. :done
  54. set dr=
  55.