home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
DRIVERS
/
HP
/
L4L24N
/
UPDATENW.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-12-30
|
2KB
|
64 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\PGRAPH.EXE goto nopgraph
goto sknopgr
:nopgraph
echo
echo The Printgraph program was not originally installed and was not
echo updated. If you wish to install Printgraph at a future time,
echo please rerun this update disk. See the READ.ME file contained
echo in the update disk for more information.
:sknopgr
if not exist %1\WYSIWYG.ADN goto nowys
goto sknowys
:nowys
echo
echo The Wysiwyg program was not originally installed and was not
echo updated. If you wish to install Wysiwyg at a future time,
echo please rerun this update disk. See the READ.ME file contained
echo in the update disk for more information.
:sknowys
echo
echo Installing 1-2-3 Update... Please wait.
echo The installation may take several minutes.
UPDTNW.EXE /NOM %1 UPDTNW.RTP
if errorlevel 1 goto full
if exist %1\WYSIWYG\IFL.EXE copy *.IFL %1\WYSIWYG > NUL
copy READ.ME %1 > NUL
echo
echo 1-2-3 Update files have been installed.
goto prdrv
:specdir
echo
echo You must specify a directory to update. Example: UPDATENW C:\LOTUS\123R24
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.
goto errmsg
:prdrv
echo
echo To take advantage of the new printer drivers,
echo you must now run the 1-2-3 Install program.
goto done
:full
echo
echo ERROR: An error has occurred.
echo Please see the READ.ME file for more information.
goto errmsg
:errmsg
echo
echo ERROR: 1-2-3 Update files have not been installed.
echo
:done
echo
echo on