home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- echo ┌──────────────────────────────────────────────────────┐
- echo │ ADJCURS.BAT Adjust cursor size │
- echo │ By Prof. Timo Salmi, ts@chyde.uwasa.fi, Fri 9-Sep-90 │
- echo └──────────────────────────────────────────────────────┘
- rem Notice the trick on the next line to echo an empty line
- echo.
-
- if "%1"=="" goto _help
- if %1==1 goto _do_1
- if %1==2 goto _do_2
- if %1==3 goto _do_3
- if %1==4 goto _do_4
- if %1==5 goto _do_5
- if %1==6 goto _do_6
- if %1==7 goto _do_7
- goto _help
-
- :_do_1
- if not exist c:\tools\mark.com goto _err_1
- if not exist bigcurs.exe goto _err_2
- c:\tools\mark
- bigcurs
- goto _out
-
- :_do_2
- if not exist c:\tools\mark.com goto _err_1
- if not exist bigcurs.exe goto _err_2
- c:\tools\mark
- bigcurs m
- goto _out
-
- :_do_3
- if not exist bigcurs.exe goto _err_3
- bigncurs
- goto _out
-
- :_do_4
- if not exist bigcurs.exe goto _err_3
- bigncurs m
- goto _out
-
- :_do_5
- if not exist c:\tools\release.exe goto _err_4
- if not exist c:\tools\reset.exe goto _err_5
- c:\tools\release
- c:\tools\reset
- goto _out
-
- :_do_6
- if not exist c:\tools\reset.exe goto _err_5
- c:\tools\reset
- goto _out
-
- :_do_7
- if not exist c:\tools\mapmem.exe goto _err_7
- c:\tools\mapmem
- goto _out
-
- :_err_1
- echo File MARK.COM not found
- echo Cursor size change not implemented
- goto _out
-
- :_err_2
- echo File BIGCURS.EXE not found
- echo Cursor size change not implemented
- goto _out
-
- :_err_3
- echo File BIGNCURS.EXE not found
- echo Cursor size change not implemented
- goto _out
-
- :_err_4
- echo File RELEASE.EXE not found
- echo Cursor size restoration not implemented
- goto _out
-
- :_err_5
- echo File RESET.EXE not found
- echo The file RESET.EXE is part of the tsutil29.arc (or later) package
- echo Cursor size restoration may be incomplete
- goto _out
-
- :_err_7
- echo File MAPMEM.EXE not found
- goto _out
-
- :_help
- echo Usage: ADJCURS [ChoiceNumber]
- echo 1 Big resident cursor
- echo 2 Medium resident cursor
- echo 3 Big transient cursor
- echo 4 Medium transient cursor
- echo 5 Restore original cursor for 1 and 2
- echo 6 Restore original cursor for 3 and 4
- echo 7 Map the resident programs
- echo Although BIGCURS.EXE and BIGNCURS.EXE can be used without further
- echo utilities, to use *this batch* you must have the TSR Utilities from
- echo TurboPower Software. In particular you'll need the programs MARK.EXE,
- echo RELEASE.EXE, and MAPMEM.EXE. Another utility that is necessary for this
- echo batch, is RESET.EXE by Timo Salmi. You should be able to obtain them by
- echo downloading TSRCOM29.ARC and TSUTIL30.ARC (or later) from any well-stocked
- echo BBS or FTP site, such as chyde.uwasa.fi, 128.214.12.3, Vaasa, Finland.
- echo.
- echo Warning, it is not advisable to load the resident cursor more than once.
- goto _out
-
- :_out
- echo on
-