home *** CD-ROM | disk | FTP | other *** search
/ Shareware Supreme Volume 6 #1 / swsii.zip / swsii / 410 / TSTSH101.ZIP / LOGON.BAT < prev    next >
Encoding:
DOS Batch File  |  1992-11-26  |  613 b   |  31 lines

  1. @echo off
  2. cls
  3. rem **
  4. rem ** Assumes that TESTSHL, LSL, ODI, IPX, NETX and NET.CFG are in the
  5. rem **  current directory.
  6. rem **
  7. echo  LOGON Sample Batch Program
  8. echo.
  9. rem ** Run TestShl and check the return values
  10. TESTSHL A
  11. if errorlevel 5 goto LOGIN
  12. if errorlevel 4 goto NET
  13. if errorlevel 3 goto IPX
  14. if errorlevel 2 goto ODI
  15. if errorlevel 1 goto LSL
  16. goto LOGIN
  17. :LSL
  18. LSL
  19. :ODI
  20. rem ** Replace ODI with the driver for your card, i.e. SMCPLUS or PCN2L
  21. ODI
  22. :IPX
  23. IPXODI
  24. :NET
  25. NETX
  26. :LOGIN
  27. rem ** Login to the file server, assumes F: is the first network drive
  28. F:
  29. LOGIN %1 %2 %3 %4 %5 %6
  30. :END
  31.