Metropoli BBS
VIEWER: mslanman.bat MODE: TEXT (ASCII)
@echo off
REM %%VER DOS Batch File for Installing NDIS Drivers to MS LAN Manager v2.0b

REM ***********************************************

REM  Format: From the NDIS subdirectory
REM	      > mslanman\mslanman [Target_Drive:]

REM ***********************************************

\install\echoxy 16 16 Updating EtherLink Plus NDIS drivers on %1
set update=n

if not exist %1\lanman\drivers\ethernet\elnkpl\elnkpl.os2 goto T1

cd %1\lanman\drivers\ethernet\elnkpl > nul
copy %1elnkpl.os2 %1elnkpl.old > nul
copy elnkpl.os2 %1\lanman\drivers\ethernet\elnkpl > nul
\install\echoxy 16 13 * Installed new EtherLink Plus OS/2 driver in the ***********
\install\echoxy 17 13 * directory %1\lanman\drivers\ethernet\elnkpl. **************
set update=y

:T1
if not exist %1\lanman\drivers\ethernet\elnkpl\elnkpl.dos goto T2

cd %1\lanman\drivers\ethernet\elnkpl > nul
copy %1elnkpl.dos %1elnkpl.old > nul
copy elnkpl.dos %1\lanman\drivers\ethernet\elnkpl > nul
\install\echoxy 16 13 * Installed new EtherLink Plus DOS driver in the ************
\install\echoxy 17 13 * directory %1\lanman\drivers\ethernet\elnkpl. **************
set update=y

:T2
if not exist %1\lanman\rpl\lanman\drivers\ethernet\elnkpl\elnkpl.os2 goto T3

cd %1\lanman\rpl\lanman\drivers\ethernet\elnkpl > nul
copy %1elnkpl.os2 %1elnkpl.old > nul
copy elnkpl.os2 %1\lanman\rpl\lanman\drivers\ethernet\elnkpl > nul
\install\echoxy 16 13 * Installed new EtherLink Plus OS/2 driver for Remoteboot ***
\install\echoxy 17 13 * Service in the directory %1\lanman\rpl\lanman\drivers *****
\install\echoxy 18 13 * \ethernet\elnkpl. *****************************************
set update=y

:T3
if not exist %1\lanman\rpl\lanman\drivers\ethernet\elnkpl\elnkpl.dos goto T4

cd %1\lanman\rpl\lanman\drivers\ethernet\elnkpl > nul
copy %1elnkpl.dos %1elnkpl.old > nul
copy elnkpl.dos %1\lanman\rpl\lanman\drivers\ethernet\elnkpl > nul
\install\echoxy 16 13 * Installed new EtherLink Plus DOS driver for ***************
\install\echoxy 17 13 * Remoteboot Service in the directory ***********************
\install\echoxy 18 13 * %1\lanman\rpl\lanman\drivers\ethernet\elnkpl. *************
set update=y

:T4
if not exist %1\lanman\repl\export\rpl\lanman\drivers\ethernet\elnkpl\elnkpl.os2 goto T5

cd %1\lanman\repl\export\rpl\lanman\drivers\ethernet\elnkpl > nul
copy %1elnkpl.os2 %1elnkpl.old > nul
copy elnkpl.os2 %1\lanman\repl\export\rpl\lanman\drivers\ethernet\elnkpl > nul
\install\echoxy 16 13 * Installed new EtherLink Plus OS/2 driver for **************
\install\echoxy 17 13 * Replicated Remoteboot Service in the directory ************
\install\echoxy 18 13 * %1\lanman\repl\export\rpl\lanman\drivers\ethernet\elnkpl. *
set update=y

:T5
if not exist %1\lanman\repl\export\rpl\lanman\drivers\ethernet\elnkpl\elnkpl.dos goto T6

cd %1\lanman\repl\export\rpl\lanman\drivers\ethernet\elnkpl > nul
copy %1elnkpl.dos %1elnkpl.old > nul
copy elnkpl.dos %1\lanman\repl\export\rpl\lanman\drivers\ethernet\elnkpl > nul
\install\echoxy 16 13 * Installed new EtherLink Plus DOS driver for ***************
\install\echoxy 17 13 * Replicated Remoteboot Service in the directory ************
\install\echoxy 18 13 * %1\lanman\repl\export\rpl\lanman\drivers\ethernet\elnkpl **
set update=y

:T6
if not exist %1\lanman.dos\drivers\ethernet\elnkpl\elnkpl.dos goto DONE

cd %1\lanman.dos\drivers\ethernet\elnkpl > nul
copy %1elnkpl.dos %1elnkpl.old > nul
copy elnkpl.dos %1\lanman.dos\drivers\ethernet\elnkpl > nul
\install\echoxy 16 13 * Installed new EtherLink Plus DOS driver for ***************
\install\echoxy 17 13 * Replicated Remoteboot Service in the directory ************
\install\echoxy 18 13 * %1\lanman.dos\drivers\ethernet\elnkpl *********************
set update=y

:DONE
if %update% == n goto errmsg

\install\echoxy 19 13 The EtherLink Plus NDIS drivers on %1 have been
\install\echoxy 20 13 updated. The older drivers have been copied with
\install\echoxy 21 13 the extension ".old."
\install\echoxy 22 13 Strike any key to return to the NDIS Menu.
\install\reply
\ndis\ndis

:errmsg

\install\echoxy 18 13	  *** Error: No Files Were Updated! ***
\install\echoxy 19 13 Make sure that you have entered the correct drive
\install\echoxy 20 13 letter and that you have access rights to the files.
\install\echoxy 22 13 Strike any key to return to the NDIS Menu.
\install\reply
\ndis\ndis



[ RETURN TO DIRECTORY ]