home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / ngm137.exe / PATCHNGM.BAT < prev   
DOS Batch File  |  1993-03-31  |  2KB  |  67 lines

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