How to use "or" in a batch script
Posted: 12 Sep 2011 21:38
Hi,
I was wondering if someone could tell me if you can use "or" or something like it in a batch file.
For example:
if /i _"%var%"=="(something)" OR "(something)" OR "(something)" (do whatever)
Is that an accepted command or is there a command that does the same thing that I could use.
Thanks,
Rileyh
I was wondering if someone could tell me if you can use "or" or something like it in a batch file.
For example:
if /i _"%var%"=="(something)" OR "(something)" OR "(something)" (do whatever)
Is that an accepted command or is there a command that does the same thing that I could use.
Thanks,
Rileyh