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!)

About this user

Hans E. Hyttinen http://sidulus.textdrive.com

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed 

Directory/File list in Windows

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
« Newer Snippets
Older Snippets »
1 total  XML / RSS feed