title: How to write a DOS script to extract all the file name in a directory?
body: <p>I want to extract all the names and path of the file in a directory and its sub-directory into a text file. How can I do it by DOS scripting?</p>
  
  <p>Thanks in advance.</p>