home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
DRIVERS
/
HP
/
L4_2X
/
UPDATE.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-07-01
|
1KB
|
43 lines
echo off
if .%1==. goto specdir
if not exist %1\123.LLD goto bfor23
if not exist %1\123.EXE goto incpath
if not exist %1\WYSIWYG.ADN goto nowys
goto sknowys
:nowys
echo
echo The Wysiwyg program was not originally installed and therefore
echo can not be updated. If you wish to install Wysiwyg at a future
echo time, please rerun this update disk.
:sknowys
echo
echo Installing 1-2-3 Update... Please wait.
echo The installation may take several minutes.
UPDTL.EXE /NOM %1 UPDTL.RTP
if errorlevel 1 goto errmsg
if exist %1\WYSIWYG\IFL.EXE copy *.IFL %1\WYSIWYG > NUL
copy READHP.ME %1 > NUL
echo
echo 1-2-3 Update files have been installed.
goto done
:specdir
echo
echo You must specify a directory to update. Example: UPDATE C:\123R23
goto errmsg
:bfor23
echo
echo The path or directory specified (%1),
echo is not an updateable release of 1-2-3.
goto errmsg
:incpath
echo
echo The path or directory specified (%1),
echo or the 1-2-3 files do not exist.
:errmsg
echo
echo ERROR: 1-2-3 Update files have not been installed.
echo
:done
echo
echo on