home *** CD-ROM | disk | FTP | other *** search
/ Computer Tool Software / soft.iso / Multimed / Net / 3COM / 3C503 / 3PLUS / UPDATE.BAT < prev   
Encoding:
DOS Batch File  |  1992-01-10  |  3.4 KB  |  90 lines

  1. echo off
  2. REM %%VER 3+ Drivers Installation Utility Program v2.0d
  3.  
  4. REM ******************************************************************
  5.  
  6. REM    Format: From the 3PLUS subdirectory
  7. REM              > update [target_drive:]
  8.  
  9. REM ******************************************************************
  10.  
  11. ..\install\echoxy 14 13 Updating EtherLink II driver files on %1
  12. ..\install\echoxy 16 10                                                               
  13. set update=n
  14.                                           
  15. if not exist %1\3drivers\eth503.sys goto ST1
  16.  
  17. copy %1\3drivers\eth503.sys %1\3drivers\eth503.old > nul
  18. copy  eth503.sys %1\3drivers > nul
  19. ..\install\echoxy 16 13 Updated EtherLink II driver in directory %1\3drivers
  20. set update=y
  21.  
  22. :ST1
  23. if not exist %1\3drivers\2eth503.sys goto ST2
  24.  
  25. copy %1\3drivers\2eth503.sys %1\3drivers\2eth503.old > nul
  26. copy  2eth503.sys %1\3drivers > nul
  27. ..\install\echoxy 17 13 Updated EtherLink II driver for second adapter        
  28. ..\install\echoxy 18 13 in directory %1\3drivers                             
  29. set update=y
  30.  
  31. :ST2
  32. if not exist %1\eth503.sys goto ST3
  33.  
  34. copy %1\eth503.sys %1\eth503.old > nul
  35. copy  eth503.sys %1\  > nul
  36. ..\install\echoxy 19 13 Updated EtherLink II driver in directory %1\           
  37. set update=y
  38.  
  39. :ST3
  40. if not exist %1\2eth503.sys goto ST4
  41.  
  42. copy %1\2eth503.sys %1\2eth503.old > nul
  43. copy  2eth503.sys %1\    > nul
  44. ..\install\echoxy 20 13 Updated EtherLink II driver for second adapter     
  45. ..\install\echoxy 21 13 in directory %1\                                      
  46. set update=y
  47.  
  48. :ST4
  49. ..\install\echoxy 22 13 Strike any key to continue.  
  50. ..\install\reply
  51. if errorlevel 28 goto ok
  52. if errorlevel 27 goto end
  53.  
  54. :ok
  55. ..\install\echoxy 16 10                                                            
  56. ..\install\echoxy 17 10                                                            
  57. ..\install\echoxy 18 10                                                            
  58. ..\install\echoxy 19 10                                                            
  59. ..\install\echoxy 20 10                                                            
  60. ..\install\echoxy 21 10                                                            
  61. ..\install\echoxy 22 10                                                            
  62. if not exist %1\wsboot\3drivers\eth503.sys goto DONE
  63.  
  64. copy %1\wsboot\3drivers\eth503.sys %1\wsboot\3drivers\eth503.old > nul
  65. copy eth503.sys %1\wsboot\3drivers > nul
  66. ..\install\echoxy 15 13 Updated EtherLink II driver in the server's               
  67. ..\install\echoxy 16 13 \wsboot\3drivers directory for use with MAKEDISK            
  68. set update=y
  69.                                                       
  70. :DONE
  71. if %update%==n goto errmsg
  72.  
  73. ..\install\echoxy 18 13 The EtherLink II 3+ drivers on %1 have been updated.    
  74. ..\install\echoxy 19 13 The older drivers have been copied with the           
  75. ..\install\echoxy 20 13 extension ".old." 
  76. ..\install\echoxy 21 13                                                    
  77. ..\install\echoxy 22 13 Strike any key to return to the 3+ menu.
  78. ..\install\reply
  79.  
  80. :end
  81. 3plus
  82.  
  83. :errmsg
  84. ..\install\echoxy 17 13        *** Error:  No Files Were Updated! ***
  85. ..\install\echoxy 18 13 Make sure that you have entered the correct drive
  86. ..\install\echoxy 19 13 letter and that you have access rights to the files.
  87. ..\install\echoxy 22 13 Strike any key to return to the 3+ Menu.
  88. ..\install\reply
  89. 3plus
  90.