ARTLUNG LAB Share

Created August 21, 2000

How to Make a file with every file on a C:\ drive

Say you need to have a list of every file on a Windows box, this is how you would do it!

dir c:\ /s/b > c:\dir.txt

This makes a recursive listing of everything on c:\, and sends it to a file named "dir.txt" at the root of the c:\ drive.