if statement - DOS Batch file - set variable in "if" block - Stack Overflow
Sorry, forgot to fix the string comparison. And never mind about then, that was misremembered. Note that the batch processor has no notion of quotation marks delimiting strings, so the quotation marks are just literal characters. You need them, though, to...