title: Windows batch FOR command tab delimiter
body: <p>I'm trying to use the Windows batch <a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/for.mspx?mfr=true" rel="nofollow">FOR command</a>.</p>
  
  <p>How do I specify a TAB character as a delimiter? The default is space and tab, but I want tab only.</p>
  
  <p>I've tried this, but it doesn't work:</p>
  
  <pre class="lang-batch prettyprint-override"><code>FOR /F "tokens=3 delims=^T" %i in (test.txt) do @echo %i
  </code></pre>
  
  <p>It seems to be splitting on the T character instead of a tab. I've also tried a literal  pasted into the command prompt, but I get a syntax error.</p>