lundi 3 août 2015

Batch not-equal to all text strings

When using the batch and comparing two strings and comparing all available choices is done like this if /I %variable%==Something ( echo wuhu ) But what i want to do is have a "if not" to all types of one specific string, this should be done like. if not /I %variable%==Something ( echo Does not work )

But as far as i can see this does not work. Is there any way to do it without using for loops in batch?

Aucun commentaire:

Enregistrer un commentaire