Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Command line util to list total space taken up by a certai..

Command line util to list total space taken up by a certai..

Forum Windows 2000/NT : Windows 2000/NT General Discussion - Command line util to list total space taken up by a certai..

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.windowsnt.misc (More info?)

 

I'm looking for a command line util to list total space taken up by a
certain file type.
Ie: How much space do .DOC files take up in a certain folder (& it's
subfolders)

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.windowsnt.misc (More info?)

 

Chortler wrote:
> I'm looking for a command line util to list total space taken up by
a
> certain file type.
> Ie: How much space do .DOC files take up in a certain folder (& it's
> subfolders)


Dir <driveletter>:\<Filename.ext> /s

will do exactly that if you specify, say, "*.DOC" for <FILENAME.EXT>

The total number of files and bytes is given at the end of the last
page displayed.


Helmut
--
All typos © My Knotty Fingers Ltd. Capacity Dept.

Reply to Anonymous
Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Command line util to list total space taken up by a certai..
Go to:

There are 1134 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them