Metropoli BBS
VIEWER: update.bat MODE: TEXT (ASCII)
@echo off
REM %%VER NetWare 286 Drivers Installation Utility Program v3.4a



REM    Updates EtherLink 16 network adapter drivers in a NW 286 system
REM    Format: From the NETWARE subdirectory
REM              > 286-IPX\update [target_drive:] 



echo          Updating NetWare 286 driver files on %1
set update=n
                                          
if not exist %1Shgen-1\*.* goto ST1

copy %1Shgen-1\S3C507.lan %1Shgen-1\*.old > nul
copy  286-IPX\S3C507.lan %1Shgen-1 > nul

echo.
echo          Updated the EtherLink 16 .LAN file in directory %1Shgen-1   
set update=y

:ST1
if not exist %1Brgen-1\*.*  goto ST2

copy %1Brgen-1\3C507A?.lan %1Brgen-1\*.old > nul
copy %1Brgen-1\A3C507A?.lan %1Brgen-1\*.old > nul
copy  286-IPX\3C507A?.lan %1Brgen-1 > nul

echo.
echo          Updated the EtherLink 16 .LAN file in directory %1Brgen-1  
set update=y

:ST2
if not exist %1Auxgen\*.*  goto ST3

copy %1Auxgen\3C507A?.lan %1Auxgen\*.old > nul
copy %1Auxgen\A3C507A?.lan %1Auxgen\*.old > nul
copy  286-IPX\3C507A?.lan %1Auxgen > nul

echo.
echo          Updated the EtherLink 16 .Lan file in directory %1Auxgen  
set update=y

:ST3
if not exist %1WSgen\*.*  goto ST4

copy %1WSgen\S3C507.lan %1WSgen\*.old > nul
copy  286-IPX\S3C507.lan %1WSgen > nul

echo.
echo          Updated the EtherLink 16 .LAN file in directory %1Wsgen      
set update=y

:ST4
if not exist %1Routegen\*.*  goto ST5

copy %1Routegen\3C507A?.lan %1Routegen\*.old > nul
copy %1Routegen\A3C507A?.lan %1Routegen\*.old > nul
copy  286-IPX\3C507A?.lan %1Routegen > nul

echo.
echo          Updated the EtherLink 16 .LAN file in directory %1Routegen    
set update=y

:ST5
if not exist %1System-1\*.*  goto ST6

copy %1System-1\3C507A?.lan %1System-1\*.old > nul
copy %1System-1\A3C507A?.lan %1System-1\*.old > nul
copy  286-IPX\3C507A?.lan %1System-1 > nul

echo.
echo          Updated the EtherLink 16 .LAN file in directory %1System-1      
set update=y


:ST6
if %update% == n goto errmsg
if not exist %1lan_drv_.507\*.*  goto make507

:contin
copy %1lan_drv_.507\*.obj  %1lan_drv_.507\*.old > nul
copy  286-IPX\*.obj  %1lan_drv_.507 > nul

echo          Updated the EtherLink 16 .OBJ's in directory %1LAN_DRV_.507

:DONE
echo.
echo          The NetWare 286 EtherLink 16 drivers on %1 have 
echo          been updated.  The older drivers have been copied       
echo          to files with the extension ".old."                               

goto end

:errmsg


echo.
echo               *** Error:  No Files Were Updated! ***            
echo          Make sure that you have entered the correct drive          
echo          letter and that you have access rights to the files. 
echo          Strike any key to return to the NetWare Menu.

goto end

:make507
md %1lan_drv_.507 > nul
goto contin


:end

[ RETURN TO DIRECTORY ]