home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / ngm121.exe / PATCHNGM.BAT < prev    next >
DOS Batch File  |  1992-09-04  |  2KB  |  59 lines

  1. @echo off
  2. REM #############################################################################
  3. REM #                                               #
  4. REM #                             NGM 1.00B UPGRADE                             #
  5. REM #                             SEPTEMBER 2, 1992                             #
  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 .\upgrad1b.rtp goto nopatch
  15. cls
  16. echo The NetWare Global Messaging patch v1.00B process may take a few
  17. echo minutes, depending on your system type and the number of files 
  18. echo to be updated.
  19. echo  
  20. echo PATCHING in progress - WORKING !!!
  21.  
  22. if exist results.txt mv results.txt results.bak
  23.  
  24. PATCH /S  upgrad1b.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. UPGRAD1B.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 1.00B 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. cls
  51. echo  
  52. echo ERROR - An error has occurred which has caused this upgrade from NGM v1.00
  53. echo         to NGM v1.00B to FAIL. Please verify your system configuration and
  54. echo         rerun "PATCHNGM.BAT". If you continue to experience problems,
  55. echo         contact your local Novell representative.
  56. echo  
  57.  
  58. :END
  59.