From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Subject: Shell scripting - IF this OR that ?

 

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'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. 



Sometimes you have to go with what works regardless of how it looks.  (kinda
like Shook)

 

 

Webster


~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to