home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / n4bats.exe / SLIST.BAT < prev    next >
DOS Batch File  |  1994-04-20  |  348b  |  18 lines

  1. @echo off
  2. if "%1"=="" goto all
  3. if "%1"=="/?" goto usage
  4. nlist Server = %1 /B
  5. if %errorlevel==1 goto usage
  6. goto end
  7. :all
  8. nlist Server /B
  9. if %errorlevel==1 goto usage
  10. goto end
  11. :usage
  12. echo SLIST.BAT
  13. echo    Usage: SLIST [Servername]
  14. echo           Servername may include wildcards
  15. echo    or use NLIST Server [= Servername] /B
  16. :end
  17.  
  18.