I need to write a Win2003 shell script that does this:
IF (Var=A) or (VAR=B) THEN
DO this command
ELSE
DO that command
END
I can't seem to figure out how to tell the shell to only do "this command"
if Var is one of those 2 values.
A CASE statement would work, but the shell doesn't seem to know about case
statements..
I've googled around, and can't seem to find out what I need to do. I might
be able to next IF statements, but that's a bit *too* ugly.
Anyone?
--
Michael Leone
Network Administrator, ISM
Philadelphia Housing Authority
2500 Jackson St
Philadelphia, PA 19145
Tel: 215-684-4180
Cell: 215-252-0143
<mailto:[EMAIL PROTECTED]>
~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~