How do I get a list of all folders and their sizes??

D

David

Hi All,
Can anyone tell me how I can print out a list of all folders on my hard disk
with name of folder, size in Mb, no of files, dates etc
I must be stupid because I just cant seem to find a way to do it
Thanks in advance, David UK
 
S

Synapse Syndrome

David said:
Hi All,
Can anyone tell me how I can print out a list of all folders on my hard
disk with name of folder, size in Mb, no of files, dates etc
I must be stupid because I just cant seem to find a way to do it
Thanks in advance, David UK


I use this little program called Treesize Pro. There's a free trial.

http://www.jam-software.com/treesize/index.shtml

And there's a free version too.

http://www.jam-software.com/freeware/index.shtml


There's also PrintFolder Pro

http://no-nonsense-software.com/printfolder/

and a free version.

http://no-nonsense-software.com/freeware/

ss.
 
S

Synapse Syndrome

R

Rick \Nutcase\ Rogers

Hi David,

Open a command prompt (start/run cmd), go to the folder of choice.

Run "dir> file.txt". This will create a text file of the contents of the
folder that you can open in notepad for printing or saving.

If you wish to add the contents of the subdirectories, run "dir
<drive><folder> /s> file.txt".

You may find this useful:

HOW TO: Add "Print Directory" Feature for Folders in Windows XP [Q321379]
http://support.microsoft.com/?kbid=321379

If you head to google.com and search on "free directory printer", you will
also find many other useful tools.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Associate Expert - WindowsXP Expert Zone

Windows help - www.rickrogers.org
 
D

David

Thanks Rick
Thats great,
Cheers, David

Rick "Nutcase" Rogers said:
Hi David,

Open a command prompt (start/run cmd), go to the folder of choice.

Run "dir> file.txt". This will create a text file of the contents of the
folder that you can open in notepad for printing or saving.

If you wish to add the contents of the subdirectories, run "dir
<drive><folder> /s> file.txt".

You may find this useful:

HOW TO: Add "Print Directory" Feature for Folders in Windows XP [Q321379]
http://support.microsoft.com/?kbid=321379

If you head to google.com and search on "free directory printer", you will
also find many other useful tools.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Associate Expert - WindowsXP Expert Zone

Windows help - www.rickrogers.org

David said:
Hi All,
Can anyone tell me how I can print out a list of all folders on my hard
disk with name of folder, size in Mb, no of files, dates etc
I must be stupid because I just cant seem to find a way to do it
Thanks in advance, David UK
 
B

billious

David said:
Hi All,
Can anyone tell me how I can print out a list of all folders on my hard
disk with name of folder, size in Mb, no of files, dates etc
I must be stupid because I just cant seem to find a way to do it
Thanks in advance, David UK

A little confused about what you want - folders only, or the contents of
each folder? "Dates" means what? and "etc?"

From the command prompt, you could try

dir /s C:\ | findstr /b /c:" "

which will generate a listing of folder names with total contained
file-count and total size of those files.

dir /s C:\

will show each file with its date/time and size and a summary at the end of
each listed folder.

append
filename.txt

to put the listing in the file "filename.txt"

Or try asking in alt.msdos.batch.nt (for NT,2K,XP) or alt.msdos.batch (for
DOS or 9X) with a more specific requirement...

HTH

....Bill
 
D

David

Thanks bill
just been playing with that
all these file listing programs that claim to be free invariably mean 'free
trial'

I really want to be able to list the first level directories on the root
directory of a drive with the amount of disk space each directory takes up.

Cheers, David
 
B

billious

David said:
Thanks bill
just been playing with that
all these file listing programs that claim to be free invariably mean
'free trial'

I really want to be able to list the first level directories on the root
directory of a drive with the amount of disk space each directory takes
up.

Cheers, David

Oh - so no dates and no etc.s then? Darn - love a good etc. now and then -
it becomes a challenge.

OK - try (as one line)

for /f "delims=" %i in ('dir /a:d/b C:\') do echo C:\%i&dir "C:\%i" |
findstr /b /c:" " | findstr /c:"File(s)"

The first findstr can be omitted if there are no files named "...File(s)..."

Note that this will show the total number of files and sum of those files'
sizes. It will not account for the size of any subdirectories.

HTH

....Bill
 
B

Bill Sharpe

Not exactly what you're looking for, but Sequoia View freeware gives you
a graphic overview of your files. The largest files show up as the
largest rectangles and the disk free space is a big(hopefully) rectangle
on the right side of the Sequoia View window.

Go to http://www.win.tue.nl/sequoiaview/.

Bill

Thanks bill
just been playing with that
all these file listing programs that claim to be free invariably mean
'free
trial'

I really want to be able to list the first level directories on the root
directory of a drive with the amount of disk space each directory takes
up.

Cheers, David
 
D

David

Wow Thanks Bill
sorry to disappoint on the 'etc'
didn't realise that command line stuff could be so lengthy and complex
Cheers, David
 
D

David

Blimey (as we say in England)
what a weird program Bill
Not quite what I want but interesting nevertheless
Cheers, David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top