title: How to create %tab% in CMD
body: <p>I need reliable way to create %tab% (containing one tab character) for both, Windows and XP.</p>
  
  <pre><code>SET TAB=" "
  </code></pre>
  
  <p>Should work for Windows 7 (not tested) but not for Win XP (tested).</p>
  
  <p>This</p>
  
  <pre><code>for /F "skip=4 delims=pR tokens=1,2" %%a in ( 'reg query hkcu\environment /v temp' ) do set TAB=%%b
  </code></pre>
  
  <p>works for Win XP only.</p>