User Tools

Site Tools


howtocreatealistoffilesinadirectory

How to create a list of files in a directory

Open a command prompt window, browse to the desired directory and type:

dir /A-D /B >> c:\filename.txt

where filename is the desired name of the list.

Alternatively, this will create a list of folders:

dir /AD /B >> c:\filename.txt

Adding to Explorer's Context Menu

More help

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