compare multiple strings in dos


[ Follow Ups ] [ Post Followup ] [ The EasyDOS Forum ] [ FAQ ]

Posted by Roniii on November 12, 2010 at 15:58:14:

Hello,

How can I compare multiple strings on the same line? For example:

if string1==string2,string3,string4 set var=X

Separating the string values with commas does not work. Is there a way?





Follow Ups:



Post a Followup (use TAB key to move between boxes - NOT ENTER or RETURN)

Name:
E-Mail:

Subject:

Type your comments in the box below and SUBMIT:


[ Follow Ups ] [ Post Followup ] [ The EasyDOS Forum ] [ FAQ ]