home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
deskaces
/
ticklx50.arc
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1989-07-05
|
3KB
|
106 lines
echo off
cls
if %2x==x goto NODRIVE
echo All disk drive designations must end with colons. For instance, drive C is
echo designated as "C:", not "C". Make absolutely sure that you have designated
echo your hard disk correctly.
echo .
echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
pause
echo off
cls
%2
cd\
md MANAGEX
cls
cd\MANAGEX
if not exist M--JOURN.LBF goto SKIPBACK
echo If you're a registered user, please ensure that you have current back-
echo ups of all the TickleX files you have used prior to today. If you do not
echo have such backups, press Control-C and make them; otherwise,
pause
:SKIPBACK
if exist ticklex.com erase ticklex.com
if exist editx.com erase editx.com
cls
copy %1*.*
erase t?.hlp
if exist blankcal erase blankcal
if exist alarm.dat erase alarm.dat
if exist ticklex.exe erase ticklex.exe
if exist ticklex.ovr erase ticklex.ovr
if exist ticklx.ovr erase ticklx.ovr
if exist sample.lbt erase sample.lbt
if exist sample.rpt erase sample.rpt
if exist sample1.rpt erase sample1.rpt
if exist sample2.rpt erase sample2.rpt
if exist ticklex.doc erase ticklex.doc
if exist upgrd.com erase upgrd.com
if exist prntdrvr.exe erase prntdrvr.exe
if exist editx.exe erase editx.exe
if exist input.exe erase input.exe
if exist export.exe erase export.exe
if exist b-beep.exe erase b-beep.exe
cls
if not exist recur.dat goto EXTRACT
echo VERY IMPORTANT
echo .
echo .
echo Now, some program files will be extracted from an archive. Before each
echo file is extracted, a check will be made to see whether a similarly named
echo one already exists on your hard disk. If so, you'll be asked whether you
echo wish to overwrite it with a new copy.
echo .
echo ALWAYS ANSWER "NO" BY PRESSSING THE "N" KEY.
echo .
echo .
pause
cls
:EXTRACT
tklx
erase tklx.exe
upgrd %2
erase upgrd.*
echo off
cls
if exist 1sttime.fyl erase 1sttime.fyl
if exist m--journ.lbf goto NOTFIRSTTIME
prntdrvr
echo off
cls
echo Now, turn your printer OFF and then ON. Make sure that it is ready to
echo print and that you have loaded at least 55 sheets of paper. Then, align
echo the print head 1/2" below the top of the first sheet.
echo .
pause
cls
echo Printing documentation...
type README.DOC >prn
type TICKLEX.DOC >PRN
cls
echo The documentation has been printed.
echo .
pause
:NOTFIRSTTIME
echo off
cls
echo .
echo .
echo Be sure to save the disk containing this version of TickleX. You may
echo need it at some time in the future if your hard disk's files are lost.
echo .
echo .
pause
echo off
cls
goto END
:NODRIVE
cls
echo .
echo You must designate BOTH the SOURCE diskette and the HARD disk
echo .
echo example: B:INSTALL B: C: will install TICKLEX from drive B to drive C:
echo .
echo PLEASE TRY AGAIN
:END