How do you get a list of all files in a folder and subfolders in Windows?

How do you get a list of all files in a folder and subfolders in Windows?
Answer
Substitute
dir /A:D.
/B /S > FolderList.txt to produce a list of all folders and all subfolders of the directory. WARNING: This can take a while if you have a large directory.
 

Tìm kiếm

Back
Top