home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Encyclopedia 96-1
/
novell-nsepro-1996-1-cd2.iso
/
download
/
netware
/
nn30d.exe
/
PACKAGES
/
O2CUPDTD.NNA
< prev
next >
Wrap
Text File
|
1994-08-22
|
866b
|
33 lines
rem Version 3.0d 8/22/94
rem OS/2 Client Update Script
rem This script will determine the current location of the OS/2
rem scheduler and replace it with the new version distributed
rem to the client.
rem
CALL NNPATH SCHED-PM.EXE C: D: E: /X:%RPATH%\
rem If the file is not found, exit with error.
IF ERRORLEVEL 1 GOTO NOT_FOUND
rem Otherwise, copy it.
COPY %RPATH%\SCHED-PM.NEW %LPATH%\SCHED-PM.EXE
rem If the copy fails, exit with error.
IF ERRORLEVEL 1 GOTO NO_COPY
rem
rem Update of SCHED-PM.EXE successful.
rem Delete the now unnecessary files.
rem
DEL %RPATH%\SCHED-PM.NEW
DEL %RPATH%\OCUPDT01.NNA
rem Indicate success.
NNSETRC 0
GOTO END
rem
:NOT_FOUND
ECHO Unable to locate OS/2 scheduler.
rem Indicate failure.
NNSETRC 1
GOTO END
:NO_COPY
ECHO Copy of SCHED-PM.EXE failed.
rem Indicate failure.
NNSETRC 2