title: Windows batch comparing strings with case sensitivity
body: <p>I am trying to compare a string that needs to be a case-sensitive compare in a DOS batch script.  I cannot figure out how to turn ON the case sensitivity in a IF statement.  Here is what I am doing and it is also matching on a lower case "-f", which I am trying to avoid:</p>
  
  <pre><code>SET "ARGS=%*"
  IF "%ARGS:-F=%" NEQ "%ARGS%" (
    ECHO Pro option -F was found and not allowed.
    GOTO :ERROR
  )
  </code></pre>