@echo off REM %%VER DOS Batch File for Installing NDIS Drivers to OS/2 EE v2.0a REM ************************************************* REM Format: From the NDIS subdirectory REM > os2ee\os2ee [Target_Drive:] REM ************************************************* if not exist %1\cmlib\elnk16.os2 goto skip1 ..\install\echoxy 17 10 Updating EtherLink 16 drivers on %1 copy %1\cmlib\elnk16.os2 %1\cmlib\elnk16.old > nul copy elnk16.os2 %1\cmlib > nul ..\install\echoxy 18 10 Updated EtherLink 16 OS/2 driver in directory %1\cmlib ..\install\echoxy 19 10 ..\install\echoxy 20 10 The EtherLink 16 NDIS driver on %1 has been updated. The older ..\install\echoxy 21 10 driver has been copied with the extension ".old." ..\install\echoxy 22 10 Strike any key to return to the NDIS menu. ..\install\reply ndis :skip1 ..\install\echoxy 17 10 Installing EtherLink 16 drivers and updating CONFIG.SYS ..\install\echoxy 18 10 and PROTOCOL.INI files on %1 ..\install\echoxy 19 10 if not exist %1\config.sys goto errmsg2 if not exist %1\cmlib\protocol.ini goto errmsg2 copy %1\config.sys %1\config.old > nul copy %1\cmlib\protocol.ini %1\cmlib\protocol.old > nul copy %1\config.sys tmp.tmp > nul \install\csed /f tmp.tmp /b "*elnkii*" "DEVICE=%tardrv%\CMLIB\ELNK16.OS2" if errorlevel 1 goto errmsg if errorlevel 3 goto errmsg \install\csed /f tmp.tmp /d "*elnkii*" if errorlevel 1 goto errmsg if errorlevel 3 goto errmsg copy tmp.tmp %1\config.sys > nul copy %1\cmlib\protocol.ini tmp.tmp > nul \install\csed /f tmp.tmp /r "*bindings = tcma*" " Bindings = TCMAC" if errorlevel 1 goto errmsg if errorlevel 3 goto errmsg \install\csed /f tmp.tmp /r "*elnkii*" " DriverName=ELNK16$" if errorlevel 1 goto errmsg if errorlevel 3 goto errmsg \install\csed /f tmp.tmp /d "*interrupt*" if errorlevel 1 goto errmsg if errorlevel 3 goto errmsg \install\csed /f tmp.tmp /d "*ioaddress*" if errorlevel 1 goto errmsg if errorlevel 3 goto errmsg \install\csed /f tmp.tmp /d "*dmachannel*" if errorlevel 1 goto errmsg if errorlevel 3 goto errmsg \install\csed /f tmp.tmp /d "*transceiver*" if errorlevel 1 goto errmsg if errorlevel 3 goto errmsg copy tmp.tmp %1\cmlib\protocol.ini > nul del tmp.tmp > nul copy elnk16.os2 %1\cmlib > nul ..\install\echoxy 17 10 Installed EtherLink 16 OS/2 driver in directory %1\cmlib ..\install\echoxy 18 10 ..\install\echoxy 19 10 The EtherLink 16 NDIS driver has been installed on %1. The older ..\install\echoxy 20 10 driver and the CONFIG.SYS and PROTOCOL.INI files have been copied ..\install\echoxy 21 10 with the extension ".old." ..\install\echoxy 22 10 Strike any key to return to the NDIS menu. ..\install\reply :end ndis :errmsg del tmp.tmp > nul copy %1\config.old %1\config.sys > nul del %1\config.old > nul copy %1\cmlib\protocol.old %1\cmlib\protocol.ini > nul del %1\cmlib\protocol.old > nul :errmsg2 ..\install\echoxy 17 10 *** Error: No Files Were Updated! *** ..\install\echoxy 18 10 Make sure that you have entered the correct drive letter ..\install\echoxy 19 10 and that you have access rights to the files. Make sure ..\install\echoxy 20 10 that the CONFIG.SYS and PROTOCOL.INI files have not been ..\install\echoxy 21 10 changed since the OS/2 EE installation. ..\install\echoxy 22 10 Strike any key to return to the NDIS menu. ..\install\reply ndis