home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / SYSTEM / TSUTLD19.ZIP / ADJCURS.BAT next >
Encoding:
DOS Batch File  |  1990-09-07  |  2.7 KB  |  113 lines

  1. echo off
  2. cls
  3. echo ┌──────────────────────────────────────────────────────┐
  4. echo │ ADJCURS.BAT Adjust cursor size                       │
  5. echo │ By Prof. Timo Salmi, ts@chyde.uwasa.fi, Fri 9-Sep-90 │
  6. echo └──────────────────────────────────────────────────────┘
  7. rem Notice the trick on the next line to echo an empty line
  8. echo.
  9.  
  10. if "%1"=="" goto _help
  11. if %1==1 goto _do_1
  12. if %1==2 goto _do_2
  13. if %1==3 goto _do_3
  14. if %1==4 goto _do_4
  15. if %1==5 goto _do_5
  16. if %1==6 goto _do_6
  17. if %1==7 goto _do_7
  18. goto _help
  19.  
  20. :_do_1
  21. if not exist c:\tools\mark.com goto _err_1
  22. if not exist bigcurs.exe goto _err_2
  23. c:\tools\mark
  24. bigcurs
  25. goto _out
  26.  
  27. :_do_2
  28. if not exist c:\tools\mark.com goto _err_1
  29. if not exist bigcurs.exe goto _err_2
  30. c:\tools\mark
  31. bigcurs m
  32. goto _out
  33.  
  34. :_do_3
  35. if not exist bigcurs.exe goto _err_3
  36. bigncurs
  37. goto _out
  38.  
  39. :_do_4
  40. if not exist bigcurs.exe goto _err_3
  41. bigncurs m
  42. goto _out
  43.  
  44. :_do_5
  45. if not exist c:\tools\release.exe goto _err_4
  46. if not exist c:\tools\reset.exe goto   _err_5
  47. c:\tools\release
  48. c:\tools\reset
  49. goto _out
  50.  
  51. :_do_6
  52. if not exist c:\tools\reset.exe goto _err_5
  53. c:\tools\reset
  54. goto _out
  55.  
  56. :_do_7
  57. if not exist c:\tools\mapmem.exe goto _err_7
  58. c:\tools\mapmem
  59. goto _out
  60.  
  61. :_err_1
  62. echo File MARK.COM not found
  63. echo Cursor size change not implemented
  64. goto _out
  65.  
  66. :_err_2
  67. echo File BIGCURS.EXE not found
  68. echo Cursor size change not implemented
  69. goto _out
  70.  
  71. :_err_3
  72. echo File BIGNCURS.EXE not found
  73. echo Cursor size change not implemented
  74. goto _out
  75.  
  76. :_err_4
  77. echo File RELEASE.EXE not found
  78. echo Cursor size restoration not implemented
  79. goto _out
  80.  
  81. :_err_5
  82. echo File RESET.EXE not found
  83. echo The file RESET.EXE is part of the tsutil29.arc (or later) package
  84. echo Cursor size restoration may be incomplete
  85. goto _out
  86.  
  87. :_err_7
  88. echo File MAPMEM.EXE not found
  89. goto _out
  90.  
  91. :_help
  92. echo Usage: ADJCURS [ChoiceNumber]
  93. echo   1  Big resident cursor
  94. echo   2  Medium resident cursor
  95. echo   3  Big transient cursor
  96. echo   4  Medium transient cursor
  97. echo   5  Restore original cursor for 1 and 2
  98. echo   6  Restore original cursor for 3 and 4
  99. echo   7  Map the resident programs
  100. echo Although BIGCURS.EXE and BIGNCURS.EXE can be used without further
  101. echo utilities, to use *this batch* you must have the TSR Utilities from
  102. echo TurboPower Software. In particular you'll need the programs MARK.EXE,
  103. echo RELEASE.EXE, and MAPMEM.EXE. Another utility that is necessary for this
  104. echo batch, is RESET.EXE by Timo Salmi. You should be able to obtain them by
  105. echo downloading TSRCOM29.ARC and TSUTIL30.ARC (or later) from any well-stocked
  106. echo BBS or FTP site, such as chyde.uwasa.fi, 128.214.12.3, Vaasa, Finland.
  107. echo.
  108. echo Warning, it is not advisable to load the resident cursor more than once.
  109. goto _out
  110.  
  111. :_out
  112. echo on
  113.