Home » Questions » Computers [ Ask a new question ]

How to include path of all files when doing a directory listing

How to include path of all files when doing a directory listing

(In Windows/Command line) I'd like to generate a list of all files, and for each file, I also want the full path displayed.

Asked by: Guest | Views: 155
Total answers/comments: 1
bert [Entry]

"As long as the directory doesn't have more directories in it, using the recurse option /s along with bare format /b will show the entire path with files:

dir /s /b

if there are more folders though it will display all the files in there as well. It's a neat little workaround though."