title: Bash 'printf' equivalent for command prompt?
body: <p>I'm looking to pipe some String input to a small C program in Windows's command prompt.  In bash I could use</p>
  
  <pre><code>$ printf "AAAAA\x86\x08\x04\xed" | ./program
  </code></pre>
  
  <p>Essentially, I need something to escape those hexadecimal numbers in command prompt.</p>
  
  <p>Is there an equivalent or similar command for <code>printf</code> in command prompt/powershell?</p>
  
  <p>Thanks</p>