CDROM-Guide forums  

PDA

View Full Version : Directory Information extraction tools


   
gooner
Jul 14, 2003, 06:47 AM
Anyone know of any freeware where I can run a simple program that will extract the following information:

Filename and Filesize - in the order of largest sized file first

dcm386
Jul 14, 2003, 03:46 PM
Well, I don't know about a separate program, but this can be done in a command window.

Navigate to the folder you want (ie C:\test) and type "dir /o-s"

This will list the directory's contents in order from largest to smallest. Then Once the directory has been listed, right click on the title bar of the command window, go to edit --> mark. Now highlight the necessary info and hit enter when you are done. Now you should be able to paste the info into a text document of your choice.

Kinda tedious, but this is the only way I know how to do it. :)

The result will look like this:

F:\test>dir /o-s
Volume in drive F is Hard Drive 2
Volume Serial Number is xxxx-xxxx

Directory of F:\test

14/07/2003 01:39 PM 985 file5.txt
14/07/2003 01:39 PM 55 file4.txt
14/07/2003 01:39 PM 25 file2.txt
14/07/2003 01:39 PM 3 file3.txt
14/07/2003 01:39 PM 1 file1.txt
14/07/2003 01:46 PM <DIR> ..
14/07/2003 01:46 PM <DIR> .
5 File(s) 1,069 bytes
2 Dir(s) 59,057,442,816 bytes free

And if you want you can just not highlight the dates if you only want the sizes and filenames :tup:

beardedwonder
Jul 14, 2003, 04:14 PM
Directory Lister (http://www.webattack.com/get/dirlister.shtml) should do the trick, it's freeware :)

gooner
Jul 15, 2003, 06:44 AM
Cheers gents, that'll do me fine:tup: