What is the difference between % and %% in a cmd file?
(Explanation in more details can be found in an archived Microsoft KB article.) Three things to know: The percent sign is used in batch files to represent command line parameters: %1, %2, … Two percent signs with any characters in between them are interpreted as a variable: echo %myvar% Two percent signs without anything in … Read more