User Tools

Site Tools


howtocreatealistoffilesinadirectory
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


howtocreatealistoffilesinadirectory [2013/01/28 04:29] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== How to create a list of files in a directory ======
 +Open a command prompt window, browse to the desired directory and type:
 +<file>
 +dir /A-D /B >> c:\filename.txt
 +</file>
 +where filename is the desired name of the list.
  
 +Alternatively, this will create a list of folders:
 +<file>
 +dir /AD /B >> c:\filename.txt
 +</file>
 +
 +===== Adding to Explorer's Context Menu =====
 +  * [[http://forums.pcpitstop.com/index.php?/topic/158901-how-to-print-a-folder-file-list-from-windows-explorer/|http://forums.pcpitstop.com/index.php?/topic/158901-how-to-print-a-folder-file-list-from-windows-explorer/]]
 +  * [[http://support.microsoft.com/kb/321379|http://support.microsoft.com/kb/321379]]
 +
 +===== More help =====
 +[[http://www.computerhope.com/issues/ch000772.htm|http://www.computerhope.com/issues/ch000772.htm]]
 +
 +-- Main.FredPettis - 2012-02-10
howtocreatealistoffilesinadirectory.txt · Last modified: 2013/01/28 04:29 by 127.0.0.1