Need full listing of WindowsXP files - TechRepublic
Question
October 31, 2006 at 09:41 AM
cmb from omaha

Need full listing of WindowsXP files

by cmb from omaha . Updated 19 years, 8 months ago

I want to capture a list of all the files on my hard drive. I know how to use “dir” and dump the listing to a text file…but here’s the problem:

I don’t want to see the name of each directory followed by a list of its files, I just want a list containing the full path name of each file. For example:

C:\dir1\dir1file1.txt
C:\dir1\dir1file2.doc
C:\dir2\dir2file1.xls
C:\dir2\dir2file2.ppt

I’d be very surprised if there is not a way to do this from the command line or with a batch file. Any help appreciated!

This discussion is locked

All Comments