title: Echo first three characters of filenames in CMD Windows
body: <p><code>for /r %g in (*.html) do echo %~ng:~0,3%</code></p>
  
  <p>This does not work. I have tested a lot, but could not find the answer.</p>
  
  <p>How do you echo the first three characters of all HTML-filenames?</p>