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

  1. @ECHO OFF
  2. if "%1"=="/?" goto usage
  3. if "%1"=="ALL" goto all
  4. if "%1"=="All" goto all
  5. if "%1"=="all" goto all
  6. rem you can add lines for "ALl" "AlL" "aLL" "alL" "aLl" if you want,
  7. rem but this is getting ridiculous
  8. send /A=C
  9. if %errorlevel==1 goto usage
  10. goto end
  11. :all
  12. send /A=N
  13. if %errorlevel==1 goto usage
  14. goto end
  15. :usage
  16. echo CASTOFF.BAT
  17. echo    Usage: CASTOFF [All]
  18. echo    or use SEND /A=C
  19. :end
  20.