Create a file from a directory list

To create a text file listing the contents of the directory, navigate to the desired folder in a command prompt and type:

dir /on /b /s >list.txt

The /on orders the lists by alphabetical name, the /b makes it only list the filename, and the /s includes subdirectories files in the list.

(Courtesy 0f



Leave a Reply

Your email address will not be published. Required fields are marked *