home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / 286dwn.exe / 215DOWN / DOWNFIX.BAT < prev    next >
DOS Batch File  |  1992-01-31  |  2KB  |  56 lines

  1. @echo off
  2. echo off
  3. echo ---------------------------------------------
  4. echo  ALWAYS BACKUP FILES BEFORE APPLYING A PATCH!
  5. echo ---------------------------------------------
  6. echo  Continuing with this batch file will apply the patch to you gen area!
  7. echo  Applying this patch will modify the following files in your gen area.
  8. echo  Of the files listed, only those pertaining to your version of
  9. echo  NetWare 2.15C will exist.
  10. echo  -----------------------
  11. echo  adobj\adv.obj
  12. echo  andobj\ndadv.obj
  13. echo  sftobj\sft.obj
  14. echo  ttsobj\tts.obj
  15. echo  ------------------------
  16. echo  Control C (^C) to break and backup files or
  17. pause
  18.  
  19. if not exist patches\zapobj.exe      goto usage
  20. if not exist patches\downsft.fix  goto usage
  21. if not exist patches\downtts.fix  goto usage
  22. if not exist patches\downded.fix  goto usage
  23. if not exist patches\downnd.fix  goto usage
  24.  
  25. if exist adobj\adv.obj     patches\zapobj   adobj\adv.obj    adobj\tmp.obj  patches\downded.fix
  26. if exist andobj\ndadv.obj  patches\zapobj   andobj\ndadv.obj andobj\tmp.obj patches\downnd.fix
  27. if exist sftobj\sft.obj    patches\zapobj   sftobj\sft.obj   sftobj\tmp.obj patches\downsft.fix
  28. if exist ttsobj\tts.obj    patches\zapobj   ttsobj\tts.obj   ttsobj\tmp.obj patches\downtts.fix
  29.  
  30. if exist adobj\tmp.obj  copy adobj\tmp.obj    adobj\adv.obj
  31. if exist andobj\tmp.obj copy andobj\tmp.obj   andobj\ndadv.obj
  32. if exist sftobj\tmp.obj copy sftobj\tmp.obj   sftobj\sft.obj
  33. if exist ttsobj\tmp.obj copy ttsobj\tmp.obj   ttsobj\tts.obj
  34.                    
  35. if exist adobj\tmp.obj  del adobj\tmp.obj
  36. if exist andobj\tmp.obj del andobj\tmp.obj
  37. if exist sftobj\tmp.obj del sftobj\tmp.obj
  38. if exist ttsobj\tmp.obj del ttsobj\tmp.obj
  39.  
  40. goto end
  41.  
  42. :usage
  43. echo This Batch file must be run from your network Gen area
  44. echo which has a patches directory.  To apply this patch you must
  45. echo do the following:
  46. echo        
  47. echo        1.  create a directory "PATCHES" off of your gen area.
  48. echo        2.  copy the batch file "DOWNFIX.BAT" from the diskette
  49. echo            to your gen area.
  50. echo        3.  copy the remaining files from the diskette to the
  51. echo            sub-directory "PATCHES".
  52. echo        4.  from the gen area directory run the batch file "DOWNFIX.BAT".
  53. goto end
  54.  
  55. :end
  56.