title: Dos command geetting only file names recursively
body: <p>I want to list all the names of files recursively from a folder. Checked <a href="https://stackoverflow.com/questions/4515510/command-line-print-file-names-to-output-file">this</a> question, but it won't help me.</p>
  
  <pre><code>dir /b "*.xml"
  </code></pre>
  
  <p>will give me .xml files in current folder.</p>
  
  <pre><code>dir /b /s "*.xml" 
  </code></pre>
  
  <p>This gives me full paths of files recursively. <br />However, I need to get only the file names. How can this be achieved? Could this be done using FOR? Tried some things on FOR, but not working. Please help!</p>