echo off rem ----------------------------------------------- rem Start DIAG with any of the following predefined rem configurations for EtherTeam16 an Etherteam16TP. rem ----------------------------------------------- rem ------------------------------------------ rem Resolve which option (upper or lowercase!). rem ------------------------------------------ if "%1" == "BOARD" goto board if "%1" == "board" goto board if "%1" == "BNC" goto bnc if "%1" == "bnc" goto bnc if "%1" == "DIX" goto dix if "%1" == "dix" goto dix if "%1" == "TP" goto tp if "%1" == "tp" goto tp if "%1" == "ECHO" goto echo if "%1" == "echo" goto echo if "%1" == "XMIT" goto xmit if "%1" == "xmit" goto xmit rem ------------------- rem Start with default. rem ------------------- :default adp /L,0 /Tdefault goto end rem ------------------- rem Start with BOARD. rem ------------------- :board adp /L,0 /Tboard goto end rem ------------------- rem Start with BNC. rem ------------------- :bnc adp /L,0 /Tbnc goto end rem ------------------- rem Start with DIX. rem ------------------- :dix adp /L,0 /Tdix goto end rem ------------------- rem Start with TP. rem ------------------- :tp adp /L,0 /Ttp goto end rem ------------------- rem Start with ECHO rem ------------------- :echo adp /L,0 /Techo goto end rem ------------------- rem Start with XMIT. rem ------------------- :xmit adp /L,0 /Txmit goto end :end echo on