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 >
Wrap
DOS Batch File
|
1994-04-20
|
415b
|
20 lines
@ECHO OFF
if "%1"=="/?" goto usage
if "%1"=="ALL" goto all
if "%1"=="All" goto all
if "%1"=="all" goto all
rem you can add lines for "ALl" "AlL" "aLL" "alL" "aLl" if you want,
rem but this is getting ridiculous
send /A=C
if %errorlevel==1 goto usage
goto end
:all
send /A=N
if %errorlevel==1 goto usage
goto end
:usage
echo CASTOFF.BAT
echo Usage: CASTOFF [All]
echo or use SEND /A=C
:end