In a dos batch file, can IF "%a%"=="%b%" (goto :label1) else goto :label2, be rewritten to read only one label? -


i script continue next line if & b equal, without having goto :label1. possible?

write other way round:

if not "%a%"=="%b%" goto label2 ::the label1 stuff 

so if , b equal, label2 goto won't run, , process label1 stuff


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -