home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- echo
- echo Swaptpu -- V1.0
- echo Turbo Screen System (C) 1989
- echo by the Connelly Brothers
- echo
- if exist tsslib.tpu goto fix
- echo
- echo Tsslib.tpu is not in the current directory? Please copy
- echo tsslib.tpu into the current working directory and execute this
- echo batch program again. Error #1.
- goto end
- :fix
- if exist tsslib04.tpu goto make_04_current
- if exist tsslib05.tpu goto make_05_current
- echo
- echo Tsslib05.tpu or tsslib04.tpu are not in the current
- echo directory. Please copy the turbo pascal units into the current
- echo directory and execute this batch program again. Error #2
- goto end
- :make_04_current
- echo
- echo Swapping Version 5.0 to 4.0
- ren tsslib.tpu tsslib05.tpu
- ren tsslib04.tpu tsslib.tpu
- echo Turbo Screen System is installed for Turbo Pascal Version 4.0
- goto message
- :make_05_current
- echo
- echo Swapping Version 4.0 to 5.0
- ren tsslib.tpu tsslib04.tpu
- ren tsslib05.tpu tsslib.tpu
- echo Turbo Screen System is installed for Turbo Pascal Version 5.0.
- :message
- echo
- echo To swap Turbo Screen System to another Turbo Pascal Version
- echo execute swaptpu again.
- :end
- echo