You can do it in DOS:
Start, All Programs, Accessories, XP: Command Prompt, Win 7/ Vista:right click on Command Prompt and Run as Administrator, Continue. Type with an Enter after each line:
C:
(This just tells it which drive to look at. Change it if you want to do D: or E: or whatever)
cd \
(I use two spaces in the code boxes so you can see where one space goes. This just tells it to start at the root of the drive.)
dir /a /s > \filelist.txt
(Do a dir command showing all files (including hidden files) and work down through the sub folders. This will take a few minutes to finish.)
(You can look at the output file in notepad (older systems may need to use wordpad as the file can get too big for notepad. My Win 7 filelist is 25.3 MB so notepad takes about a minute to load.)
notepad \filelist.txt
(filelist.txt is just an arbitrary name. the \ will put it at C:\ since we are using the C: or you could specify a different drive if you like)
You can modify the output by using /O followed by one or more of the following:
N By name (alphabetic) S By size (smallest first)
E By extension (alphabetic) D By date/time (oldest first)
G Group directories first - Prefix to reverse order
Example:
dir /a /s /OGD > D:\filelist.txt
This changes the output so that it lists all of the subfolders first then the files with the oldest first. I use this sometimes when looking for malware.
Repeat for each drive using a different file name for the output each time.
The unsorted output looks like this:
Volume in drive C is OS
Volume Serial Number is 887A-465F
Directory of C:\
02/14/2012 12:30 PM <DIR> $RECYCLE.BIN
06/10/2009 02:42 PM 24 autoexec.bat
01/19/2012 05:38 PM 3,341 bcdoutput.txt
07/25/2009 06:42 AM 8,192 BOOTSECT.BAK
02/14/2012 12:33 PM <DIR> ComboFix
02/14/2012 12:32 PM 16,575 ComboFix.txt
05/12/2012 06:33 PM <DIR> Config.Msi
06/10/2009 02:42 PM 10 config.sys
07/13/2009 09:53 PM <JUNCTION> Documents and Settings [C:\Users]
02/09/2012 12:35 AM <DIR> Downloads
11/25/2011 07:53 PM 4,257,415,168 DVD Video Recording.iso
11/25/2011 07:53 PM 4,314 DVD Video Recording.mds
12/03/2011 01:14 PM 85 evtjunk.txt
05/25/2012 05:25 AM <DIR> f72ee6c15073b14d8089afe5d4b1085d
05/23/2012 09:23 AM 2,103,349,248 hiberfil.sys
...
Ron