home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Encyclopedia 96-1
/
novell-nsepro-1996-1-cd2.iso
/
download
/
netware
/
l11p06.exe
/
PCONSOLE.PAT
< prev
next >
Wrap
Text File
|
1992-09-22
|
2KB
|
69 lines
TARGET=C:\NWLITE\SERVER.EXE
LIST
print "PCONSOLE.PAT - patches $TARGET to turn printer console on or off.\n"
VERIFY
rem "find out which state the server is currently in"
vd = search (
E8 7D 01 EB 08 E8 47 00 EB 03 E8 AC 02 E8 58 06
checksum 752 )
ve = search (
90 90 90 EB 0B E8 47 00 EB 03 E8 AC 02 E8 58 06
checksum 79F )
if ve=0 then
print " $TARGET is set to display a popup message when\n"
print " a printer error is detected.\n"
else
print " $TARGET is set to NOT display a popup message when\n"
print " a printer error is detected.\n"
endif
APPLY
print "\nOptions:\n"
if ve=0 then
print " 1. Set server to NOT display popup printer error messages.\n"
else
print " 1. Set server to display popup printer error messages.\n"
endif
print " 2. Exit without changing the server.\n"
print "Type the number (1 or 2) of the option you want:"
va = getkey
print "\n\n"
if va='1' then
if ve=0 then
if vd=3472 then
patch 3472 ( 90 90 90 xx 0B checksum 1BB )
write
print " SERVER.EXE will NOT display a popup message when a printer\n"
print " error is detected.\n"
stop
else
print " Could not find pattern indicating that SERVER.EXE\n"
print " needs this patch. Make sure you are using this\n"
print " patch with NetWare Lite SERVER.EXE version 1.1\n"
stop
endif
else
if ve=3472 then
patch 3472 ( E8 7D 01 xx 08 checksum 16E )
write
print " SERVER.EXE will display a popup message when a printer\n"
print " error is detected.\n"
stop
else
print " Could not find pattern indicating that SERVER.EXE\n"
print " needs this patch. Make sure you are using this\n"
print " patch with NetWare Lite SERVER.EXE version 1.1\n"
stop
endif
endif
endif
if va='2' then
print "No change was made to $TARGET.\n"
stop
endif
print "Invalid option selected.\n"
print "No change was made to $TARGET.\n"
stop