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

  1. @ECHO OFF
  2. if "%1"=="/?" goto usage
  3. if "%1"=="" goto noopt
  4. rights %1 %2 %3 %4 %5 %6 %7 %8 %9 /F
  5. if %errorlevel==1 goto usage
  6. goto end
  7. :noopt
  8. rights *.* /F
  9. if %errorlevel==1 goto usage
  10. goto end
  11. :usage
  12. echo ALLOW.BAT
  13. echo    Usage: ALLOW [path [rightslist]]
  14. echo    or use RIGHTS [path [rightslist] /F
  15. :end
  16.  
  17.