Taken from another forum...

Hi, I´ve seen a couple of question how to make a "tree" (list of files on your Harddrive) so I made this Guide for ya

1. Make an .bat file
Open Notepad and copy this text into it:

Code:
@echo off
title ViperO07's Tree Creator
color f0
echo Running ViperO07's Tree Creator.
tree /a /f > .\Tree.txt
echo Process Compleated.
echo File is named Tree.txt and can be found in the same folder this is in.
pause
Save the file as whatever.bat

2.Put the .bat file in an folder
Now put the .bat file you made into the folder you want to show the content of. (It will also show all subfolders)
eg. If you want to show all files on C:\ put the bat file there.

3. Start the .bat file
When you start the bat file you will see a CMD window looking like this

[img width=500 height=252]http://home.no/supagangsta/bat1.JPG[/img]

Then it will work for a while, if there are many files and folders it will use a long time,
less files it will go fast!
When its finiched you will get this mesg:

[img width=500 height=252]http://home.no/supagangsta/bat2.JPG[/img]

4. Look at the result
Now you will see a file on the same place as the .bat file called "tree.txt" open it and you will see all files in the folder

eg it will look like this:

Code:
|  |  |  +---Bryan Adams - 1998 - When You're Gone
|  |  |  |    01 - When You're Gone.mp3
|  |  |  |    02 - I Love Ya Too Much.mp3
|  |  |  |    03 - What Does It Do To Your Heart.mp3
|  |  |  |   
|  |  |  +---Bryan Adams - 1999 - The Best Of Me Part I
|  |  |  |    01 - The Best Of Me.mp3
|  |  |  |    02 - Inside Out (Demo).mp3
|  |  |  |    03 - How Do Ya Feel Tonight (Demo).mp3
|  |  |  |   
|  |  |  +---Bryan Adams - 1999 - The Best Of Me Part II
|  |  |  |    01 - The Best Of Me.mp3
|  |  |  |    02 - Cloud 9 (Demo).mp3
|  |  |  |    03 - Fearless (Demo).mp3
If you cant manage to make a .bat file you can download it
HERE!

If you want it to ONLY take Folders and Subfolders on your harddrive, and not all files, copy this into notepad an save it as an .bat file.

Code:
@echo off
title ViperO07's Tree Creator
color f0
echo Running ViperO07's Tree Creator.
tree /a > .\Tree.txt
echo Process Compleated.
echo File is named Tree.txt and can be found in the same folder this is in.
pause
Then it will only take folders and sub folders
(Download it HERE! )

Hope this was intelligible!
Just ask if you cant get it to work