title: Batch For Loop: Use wildcard character in string
body: <p>I have been translating some shell code to MS-DOS Batch.  In my code, I have the sample:</p>
  
  <pre><code>for %%i in (%*) do set "clargs=!clargs! %%i"
  </code></pre>
  
  <p>If I input the argument "-?" (without the quotation marks), it is not added to clargs.  I assume it is because '?' is a wildcard character.  Is there anything I can do to ensure that for does not do special things because of the question mark being located in the argument?</p>