title: Iterate through multiple files displaying filename and first word in each
body: <p>I need to iterate through multiple files inside a directory and display filename and first word in file.</p>
  
  <p>I am able to iterate through the files inside the directory and display the files names.</p>
  
  <pre><code>@echo off
  set SetupDir=D:\docs
  for /r "%SetupDir%" %%f in (*.*) do echo %%f
  pause
  </code></pre>