title: Batch Script "Timeout" Error: Invalid Syntax. Default option is not allowed more than 1 time
body: <p>First off, I'm using Windows 7 64-bit, if it makes a difference. I have a batch file in which I'm using the "timeout" function, written as such:</p>
  
  <pre><code>*code does some things*
  timeout /t 100 rem wait for 100 seconds for the above thing to finish
  </code></pre>
  
  <p>If I do <code>timeout /t 100</code> in the command line, it waits for 100 seconds as I would expect. However, in the script it gives me the error: </p>
  
  <pre><code>ERROR: Invalid syntax. Default option is not allowed more than '1' time(s).
  Type "TIMEOUT /?" for usage.
  </code></pre>
  
  <p>The instructions for <code>timeout</code> are <code>/t</code> for number of seconds to wait, <code>/nobreak</code> to ignore keypresses, and <code>/?</code> to display the help message. I'm not sure what syntactical error I'm having, or what "default option is not allowed", especially since it seems to work perfectly fine outside of the batch file.</p>