home *** CD-ROM | disk | FTP | other *** search
- TARGET=C:\NWLITE\SERVER.EXE
- LIST
- print "WRBEHIND.PAT - NetWare Lite Server write behind patch.\n"
- VERIFY
- va = search ( 8D 5D 32 8B 4F 06 8B 47 02 2B 44 0D 8B 7C 05 03
- F8 56 8D 77 0A 51 F3 A4 59 5E 03 C1 89 44 09 C7
- 44 0B 00 10 29 44 0B 90 checksum D1E )
- if va=17B0 then
- print " $TARGET already contains patch WRBEHIND.PAT.\n"
- stop
- else
- print " $TARGET does not contain patch WRBEHIND.PAT.\n"
- endif
- APPLY
- print " Applying patch WRBEHIND.PAT to $TARGET...\n"
- vb = search ( 56 57 8D 5D 32 8B 4F 06 8B 7C checksum 3B0 )
- if vb=17B0 then
- patch 17B0 ( 8D 5D 32 8B 4F 06 8B 47 02 2B 44 0D 8B 7C 05 03
- F8 56 8D 77 0A 51 F3 A4 59 5E 03 C1 89 44 09 C7
- 44 0B 00 10 29 44 0B 90 checksum D1E )
- write
- print " $TARGET now contains patch WRBEHIND.PAT.\n"
- stop
- else
- print " Could not find pattern indicating that $TARGET\n"
- print " needs this patch. Make sure you are using this\n"
- print " patch with NetWare Lite SERVER.EXE, version 1.0.\n"
- stop
- endif
-