Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

Directory/File list in Windows (See related posts)

Run, CMD, blah blah blah...

For a pretty tree, do
tree /f /a > tree.txt


For an ugly (but thorough) inline list of directories and files, sorted by directory name and then date of creation, do
dir /s /a  /o:-d /t:c > file_list.txt


If you don't want subdirectories listed under directories, do
dir /s /a:-d /o:-d /t:c > file_list.txt

You need to create an account or log in to post comments to this site.


Related Posts