title: Write HEX values to file in Windows batch
body: <p>In Linux we can do</p>
  
  <pre><code>echo -n -e '\x66\x6f\x6f' &gt; test.txt
  </code></pre>
  
  <p>to write HEX values to a file.</p>
  
  <p>How can this be done simply in Windows batch?</p>