home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Jason Aller Floppy Collection
/
267.img
/
RESIDNTC.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-04-12
|
2KB
|
73 lines
ECHO OFF
ECHO ********************************************************************
ECHO *
ECHO * THIS BATCH FILE WILL INSTALL THE /*resident_C*/ FILES TO THE
ECHO * CURRENT DIRECTORY.
ECHO *
ECHO * The disk contains support for Microsoft C and Turbo C. To
ECHO * install the software for one of these compilers, run the
ECHO * install.bat file as follows:
ECHO *
ECHO * First, make the directory you wish to install the software into the
ECHO * current directory. Then put the /*resident_C*/ disk in the A: drive
ECHO * and type A:INSTALL [comp] [SOURCE] [DEMOS] [U]
ECHO * comp - M for Microsoft, T for Turbo
ECHO * SOURCE - if you want source code
ECHO * DEMOS - if you want the demo programs
ECHO * U - if you want the TSR utilities
ECHO *
ECHO * IF YOU DO NOT WANT THE FILES INSTALLED AT THIS TIME, HIT CTRL-BREAK.
ECHO * HIT ANY OTHER KEY TO CONTINUE.
ECHO *
PAUSE
IF %1/ == / GOTO NOPARM
CLS
IF %1 == m GOTO MSC
IF %1 == M GOTO MSC
IF %1 == T GOTO TC
IF %1 == t GOTO TC
IF %1 == SOURCE GOTO ISOURCE
IF %1 == source GOTO ISOURCE
IF %1 == demos GOTO DEMOS
IF %1 == DEMOS GOTO DEMOS
IF %1 == u GOTO TSRS
IF %1 == U GOTO TSRS
GOTO NOPARM
:MSC
A:PKUNZIP A:RES_C *.h res_c_s.msc res_c_l.msc
REN res_c_?.msc *.lib
GOTO DONE
:TSRS
A:PKUNZIP A:TSRUTIL
GOTO DONE
:TC
A:PKUNZIP A:RES_C *.h res_c_s.tc res_c_l.tc
REN res_c_?.tc *.lib
GOTO DONE
:DEMOS
a:pkunzip a:demos
GOTO DONE
:ISOURCE
a:pkunzip a:source
GOTO DONE
:NOPARM
ECHO
ECHO ***************************************************
ECHO * You must pass one of the following arguments:
ECHO * M to install Microsoft libraries
ECHO * T to install Turbo C libraries
ECHO * U to install TSR Utilities
ECHO * SOURCE to install source code
ECHO * DEMOS to install demo programs
ECHO ***************************************************
ECHO
GOTO FINIS
:DONE
ECHO
ECHO *** INSTALLATION COMPLETE ***
ECHO
:FINIS
REM
ECHO ON