It seems that there was a discussion on this board about how to write the files and folders on a drive to a text file. I did a search for that post and could not find it.
Here is one way to do that. It lists all of the folders and the files in them in a file that can be opened with Notepad.
To print the contents of the C drive to a file called before.txt in C, go to a Command Prompt (in WinXP go to Start - All Programs - Accessories - Command Prompt) and type this - "dir c:\*.* /s/one >c:\before.txt" (without the quote marks) and press Enter.