Search code examples
windowsbatch-filecase-sensitiveuppercase

Case sensitivity in windows batch file


Quick question:

Are there an circumstances where a command must be in uppercase or lowercase in a windows batch file? Apart from options/switches?


Solution

  • Only the metavariable (loop-control variable) in a for loop is case-sensitive AFAIAA. Note that set string-replacement suffers the opposite problem - it is case-insensitive for the string-to-be-replaced.