How To List Files Names In a Windows Directory or Folder

Yesterday, I want to make a list of one of my program files, there are thounds of files in that folder, must I write down the file names one by one? It’s a hard work if you write manually! But, it’s easy to do if you use DOS.

There are many ways to make a list of file names in a folder a in a directory.

————————–
Start -> Run ->” cmd ”

dir XXXX /a >>c:\A.txt

Enter
———————————

“XXXX” ->the folder

listnames

then you can find the a.txt file in your c Directory

_____________________________________

if this idea is not your want, here is another.

if you want to list the name of one folder named “test” D:\test

then:

Start -> Run ->cmd

tree X: >> a.txt

then ,you can find the tree list of the folder in a.txt, very cool