home *** CD-ROM | disk | FTP | other *** search
/ The SelectWare System Volume 2 #3 / The_SelectWare_System_Series_1_Volume_2_Number_3_Selectware.iso / lot10030 / savetime.bat < prev    next >
DOS Batch File  |  1987-03-02  |  2KB  |  94 lines

  1. echo off
  2. cls
  3. if not exist rtdemo.exe goto files
  4. if not exist sg_dmode.com goto files
  5. echo One moment please...
  6. sg_mem 270
  7. if errorlevel 1 goto not_enuf
  8. goto mem_ok
  9.  
  10. :files
  11. echo It appears you're trying to run the Metro demo from
  12. echo a drive or directory that doesn't have the SAVETIME files.
  13. echo  
  14. echo If you're running SAVETIME from a hard disk:
  15. echo    Change to the subdirectory that contains the demo files,
  16. echo    then type SAVETIME again.
  17. echo  
  18. echo If the Metro demo disk is in Drive A:
  19. echo     Type A: and press ENTER; then type SAVETIME
  20. echo  
  21.  
  22. echo  
  23. goto done0
  24.  
  25. :not_enuf
  26. echo  
  27. echo You do not have enough memory available to run the demo.
  28. echo Please free up additional memory and try again.
  29. goto done
  30.  
  31. :mem_ok
  32. sg_dmode
  33. if errorlevel 8 goto cmodes
  34. if errorlevel 7 goto mono
  35. goto cmodes
  36.  
  37. :mono
  38. rtdemo -xlate 1F701E70C08F8C8F8A8F0F0F0E0FF0F09F8F8E8F740F3070 "ryan"
  39. goto done
  40.  
  41. :cmodes
  42. echo  
  43. echo Before we begin, we need to find out what kind of monitor you're using
  44. echo  
  45. echo    If you're using a color monitor, please type "C"
  46. echo  
  47. echo    If you're using a monochrome or "black & white" monitor, please type "B"
  48. echo  
  49. sg_askw 15 cb      (Type C for color, or B for Black and White):
  50. if errorlevel 255 goto timeout
  51.  
  52. :chkdmode
  53. if errorlevel 3 goto oops
  54. if errorlevel 2 goto bw
  55. if errorlevel 1 goto color
  56. if errorlevel 0 goto oops
  57.  
  58. :oops
  59. echo  
  60. echo             Please press C or B...
  61. echo  
  62. sg_ask cb      (Type C for Color, or B for Black and White):
  63. goto chkdmode
  64.  
  65. :timeout
  66. echo  
  67. echo  
  68. sg_askw 2 a Assuming they're using a color monitor...
  69.  
  70. :color
  71. cls
  72. echo  
  73. echo   The Metro Demo is loading ..
  74. echo  
  75. rtdemo "ryan"
  76. goto done
  77.  
  78. :bw
  79. cls
  80. echo The Metro Demo is loading...
  81. echo  
  82. rtdemo -xlate 1F701E70C08F8C8F8A8F0F0F0E0FF0F09F8F8E8F740F3070 "ryan"
  83. goto done
  84.  
  85. :done
  86. cls
  87. echo  
  88. echo To get more done in less time, get Lotus Metro today.
  89. echo  
  90. echo To see the Metro Demo again, please type SAVETIME.
  91. echo  
  92.  
  93. :done0
  94.