home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / ngm192.exe / PATCHNGM.BAT < prev    next >
DOS Batch File  |  1994-05-26  |  2KB  |  71 lines

  1. @echo off
  2. REM        ┌───────────────────────────────────────────────────┐
  3. REM        │                                                   │
  4. REM        │                NetWare Global MHS                 │  
  5. REM        │             Upgrade 2.00C for NW4.01              │
  6. REM        │                   May 23, 1993                    │  
  7. REM        │                                                   │  
  8. REM        └───────────────────────────────────────────────────┘
  9.  
  10.  
  11. : This batch file must be copied to and run from the root NGM directory
  12. : (EX: \NGM)
  13.  
  14.  
  15. if not exist .\patch.exe goto nopatch
  16. if not exist .\upgrd20c.rtp goto nopatch
  17. cls
  18. echo The NetWare Global MHS Messaging v2.00c patch process may take
  19. echo a few minutes; depending on your system type and the number of
  20. echo files to be updated. Review the file RESULTS.TXT upon completion.
  21. echo  
  22. echo PATCHING in progress - WORKING !!!
  23.  
  24. if exist results.txt copy results.txt results.bak
  25.  
  26. PATCH /S  upgrd20c.rtp   > results.txt
  27. if errorlevel 1 goto FAIL
  28. goto DONE
  29.  
  30.  
  31. :NOPATCH
  32. cls
  33. echo  
  34. echo ERROR - Please verify the following files exist in the root NGM directory.
  35. echo  
  36. echo         1. PATCH.EXE
  37. echo         2. UPGRD20C.RTP
  38. echo         3. PATCHNGM.BAT
  39. echo  
  40. echo         Change to the NGM root directory and type 'PATCHNGM'.
  41. echo  
  42. goto end
  43.  
  44. :DONE
  45. cls
  46. echo  
  47. echo The NGM 2.00C upgrade has completed. Please examine the file
  48. echo 'RESULTS.TXT' to verify the successful completion of this
  49. echo upgrade procedure.
  50. goto end
  51.  
  52. :FAIL
  53. echo  
  54. echo ERROR - An error has occurred which has caused this NGM v2.00C
  55. echo         upgrade to FAIL. If the .\BACKUP directory exists on your
  56. echo         system you must perform the following before attempting to
  57. echo         install the patch again. 
  58. echo  
  59. echo                  1.  From the .\BACKUP directory copy UNPATCH.BAK to
  60. echo                      UNPATCH.BAT.
  61. echo                  2.  Type UNPATCH.BAT.
  62. echo                  3.  After the system is restored, delete the .\BACKUP
  63. echo                      directory and its contents. 
  64. echo                 
  65. echo         Check your system configuration and rerun "PATCHNGM.BAT". If
  66. echo         you continue to experience problems, contact your local Novell
  67. echo         representative.
  68. echo  
  69.  
  70. :END
  71.