title: Script to list the files of a folder and export it to a text document
body: <p>I was just wondering if anyone knew of a way that you could get all the folders, files and sub-folders of a location (such as C:\Users\Username) and export it to a text document on a network share (such as \server\share\document.txt).</p>
  
  <p>Thank you for your help!</p>