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

  1. @echo off
  2. if "%1"=="/?" goto usage
  3. if "%1"=="" goto all
  4. nlist User = %1 /A /B
  5. if %errorlevel==1 goto usage
  6. goto end
  7. :all
  8. nlist User /A /B
  9. if %errorlevel==1 goto usage
  10. goto end
  11. :usage
  12. echo USERLIST.BAT
  13. echo    Usage: USERLIST 
  14. echo    or use NLIST USER [= username] /A /B
  15. :end
  16.  
  17.