title: Windows BATCH question mark as script parameter
body: <p>I cannot figure out how to know if my script is called with a question mark (?)</p>
  
  <p>For example I have <code>run.bat a b c ?</code>  </p>
  
  <pre><code>SET /A argCount=0
  FOR %%x IN (%*) DO (
      SET /A argCount+=1
      ECHO %%x
  )
  ECHO %argCount%
  </code></pre>
  
  <p>This prints as the following, <strong>note that the question mark does not register as the 4th parameter</strong>.</p>
  
  <pre><code>a
  b
  c
  3
  </code></pre>
  
  <p>I also tried to call it with the following variations, the question mark just un-detectable.</p>
  
  <pre><code>run.bat a b c ?
  run.bat a b c -?
  run.bat a b c /?
  </code></pre>
  
  <p>How do I detect if there is a question mark as a script parameter?</p>