home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
- rem **
- rem ** Assumes that TESTSHL, LSL, ODI, IPX, NETX and NET.CFG are in the
- rem ** current directory.
- rem **
- echo LOGON Sample Batch Program
- echo.
- rem ** Run TestShl and check the return values
- TESTSHL A
- if errorlevel 5 goto LOGIN
- if errorlevel 4 goto NET
- if errorlevel 3 goto IPX
- if errorlevel 2 goto ODI
- if errorlevel 1 goto LSL
- goto LOGIN
- :LSL
- LSL
- :ODI
- rem ** Replace ODI with the driver for your card, i.e. SMCPLUS or PCN2L
- ODI
- :IPX
- IPXODI
- :NET
- NETX
- :LOGIN
- rem ** Login to the file server, assumes F: is the first network drive
- F:
- LOGIN %1 %2 %3 %4 %5 %6
- :END
-