DOS Batch file for Drive space & large files

I searched for this extensively and surprisingly couldn't find.
I need a DOS batch file to run from the command window to provide a quick view of:
Disk Letter
Disk Capacity,
Disk Available
and
Listing  of the Large files (over 10GB) & their path and size, in descending size order.
Output in field width format.
One drive is fine,  but all drives is a bonus.
I would think everyone supporting application on a wide variety of customers and envrionments would need this.
AndyPandyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AmitIT ArchitectCommented:
try tree view tool
0
Steve KnightIT ConsultancyCommented:
Personally I'd use treesize, free version is fine.... http://www.jam-software.com/freeware/ or of course you can use explorer to do a search.

This function of mine here:

http://scripts.dragon-it.co.uk/links/batch-biggest-files-in-folders

Will find the 20 biggest files under a directory structure in two different ways and could soon be adapted to pull out rather than the top 20, all those over a certain size.

Steve
0
babesiaCommented:
I use diruse from windows resource kit for listing large files

example diruse p:\ /M /S /D /Q:10000

Searching for directories that have exceeded 10000 megabytes
    Size (mb)  Files  Directory
!    21999.39      7  P:\ISO\Adobe\CS5
!    16611.39      7  P:\ISO\ArcGIS
!    14776.80      8  P:\ISO\Microsoft
!    24461.00      8  P:\ISO\Microsoft\Server
!    28669.45     11  P:\ISO\Microsoft\Windows7
!   196223.04  131833  SUB-TOTAL: P:\ISO

!   196223.04  131833  TOTAL: P:\ISO

0
Bill PrewCommented:
It isn't going to be fast, but you should be able to use the WMIC command to locate all files on a disk larger than a specified size, as in:

wmic datafile where "filesize > 2000000" get path

~bp
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft DOS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.