How do I get a list of folders and subfolders with the files?

How do I get a list of folders and subfolders with the files?
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