home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / DRIVERS / HP / L4L24N / UPDATENW.BAT < prev    next >
DOS Batch File  |  1992-12-30  |  2KB  |  64 lines

  1. echo off
  2. if .%1==. goto specdir
  3. if not exist %1\123.LLD goto bfor23
  4. if not exist %1\123.EXE goto incpath
  5. if not exist %1\PGRAPH.EXE goto nopgraph
  6. goto sknopgr
  7. :nopgraph
  8. echo 
  9. echo The Printgraph program was not originally installed and was not
  10. echo updated. If you wish to install Printgraph at a future time,
  11. echo please rerun this update disk. See the READ.ME file contained
  12. echo in the update disk for more information.
  13. :sknopgr
  14. if not exist %1\WYSIWYG.ADN goto nowys
  15. goto sknowys
  16. :nowys
  17. echo 
  18. echo The Wysiwyg program was not originally installed and was not
  19. echo updated. If you wish to install Wysiwyg at a future time,
  20. echo please rerun this update disk. See the READ.ME file contained
  21. echo in the update disk for more information.
  22. :sknowys
  23. echo 
  24. echo Installing 1-2-3 Update... Please wait.
  25. echo The installation may take several minutes.
  26. UPDTNW.EXE /NOM %1 UPDTNW.RTP
  27. if errorlevel 1 goto full
  28. if exist %1\WYSIWYG\IFL.EXE copy *.IFL %1\WYSIWYG > NUL
  29. copy READ.ME %1 > NUL
  30. echo 
  31. echo 1-2-3 Update files have been installed.
  32. goto prdrv
  33. :specdir
  34. echo 
  35. echo You must specify a directory to update. Example: UPDATENW C:\LOTUS\123R24
  36. goto errmsg
  37. :bfor23
  38. echo 
  39. echo The path or directory specified (%1),
  40. echo is not an updateable release of 1-2-3.
  41. goto errmsg
  42. :incpath
  43. echo 
  44. echo The path or directory specified (%1),
  45. echo or the 1-2-3 files do not exist.
  46. goto errmsg
  47. :prdrv
  48. echo 
  49. echo To take advantage of the new printer drivers,
  50. echo you must now run the 1-2-3 Install program.
  51. goto done
  52. :full
  53. echo 
  54. echo ERROR: An error has occurred.
  55. echo Please see the READ.ME file for more information.
  56. goto errmsg
  57. :errmsg
  58. echo 
  59. echo ERROR: 1-2-3 Update files have not been installed.
  60. echo 
  61. :done
  62. echo 
  63. echo on
  64.