Hi,
Can anyone provide some insight as to how I could compare multiple strings in the same command. For example:
if string1==string2 (or) string3 (or) string4 set var=X
I've tried using commas and other symbols to seperate the multiple strings, but haven't been able to make it work.
Thx.
Search found 1 match
- 15 Nov 2010 10:57
- Forum: DOS Batch Forum
- Topic: compare multiple strings in same line
- Replies: 2
- Views: 4678