Tuesday, November 20, 2007

Make list of hundreds of files you have ..in second

You have probably at least once tired to make a list of files on your hard disk.Doing it manually would be very hard and long process and you just couldn't seem to find the right software for it.Well solution is very simple,all you need to do is open up notepad,type in few lines and save it.Here is how it goes:

1.Open up notepad (Click on Start at your taskbar,then press Run,type notepad in it and press ok)


2.Highlight the three lines below,copy them and paste them into notepad



@echo off

tree /f /a > ListOfFiles.txt

exit


3.Now in notepad menu press File - Save as and when small window pops ,at the option
Save
as type choose All files , and at the option File name type MakeList.bat
Browse for the place where you want to save it and press Save


In the folder where you have saved it you will find a file looking like this:





Now you can copy and paste that file in any folder witch files you want listed and double click it.It will automatically generate a file named ListOfFiles.txt in witch all of your subfolders and files will be listed and shown graphically.





Double-click on MakeList





Open text file that has generated





There is your list.


Remember, you can copy and paste MakeList file in any folder for witch you need a list of subfolders and files that they contain;or you can paste it directly on hard drive for a complete list of folders,subfolders and files on it.

No comments: