title: How to use command line to pull file names from a network drive
body: <p>I am wanting to use the command line to output a list of file names to a CSV, but the files are on a network drive. </p>
  
  <p>On my computer I have a folder of movies on my D: drive. By changing the directory in command line and using <code>dir /b &gt; Movies.csv</code>I can obtain a list of all movie titles in that directory. However, we now have a WD NAS box with all of our movies in it and I would like to somehow use command line to pull an updated csv of movie names from it. Since it's no longer on one of my drives in my computer, I am unsure of how to do this.</p>