title: Looping for every character in variable string BATCH
body: <p>I'm trying to loop through every character in a string . I only however know how to loop for every word in a string ussing the following:</p>
  
  <pre><code>(set /P MYTEXT=)&lt;C:\MYTEXTFILE.txt
  
  set MYEXAMPLE=%MYTEXT%
  for %%x in (%MYEXAMPLE%) do (
  ECHO DO SOMTHING
  )
  </code></pre>
  
  <p>How can I configure it to work per character rather then per word?</p>