Jump to content

HOw to find files taking most of disk space


Recommended Posts

Guest Prem Mehrotra
Posted

I am on Windowns 2003 but 2000 command should work on 2003

as well.

 

Is there a command which will show me disk usgae sorted by disk space so I

can find which files are utilizing most of the space. I do not want to buy

any third party tools, looking for a command or something from sysinternals

which can be run to get this information.

 

I am a UNIX guy learning Windows.

 

Thanks a lot.

  • Replies 5
  • Created
  • Last Reply
Guest Pegasus \(MVP\)
Posted

Re: HOw to find files taking most of disk space

 

 

"Prem Mehrotra" <PremMehrotra@discussions.microsoft.com> wrote in message

news:8BA34664-0B11-494E-8F73-3861372C2BAF@microsoft.com...

>I am on Windowns 2003 but 2000 command should work on 2003

> as well.

>

> Is there a command which will show me disk usgae sorted by disk space so I

> can find which files are utilizing most of the space. I do not want to buy

> any third party tools, looking for a command or something from

> sysinternals

> which can be run to get this information.

>

> I am a UNIX guy learning Windows.

>

> Thanks a lot.

 

I suspect you're not so much interested in locating ***files*** that consume

a lot of disk space but in ***folders***. If so then one of these tools

might help you:

DriveUse:

http://members.ozemail.com.au/~nulifetv/freezip/freeware/index.html

Bullet Proof Folder sizes: http://www.foldersizes.com/

Posted

Re: HOw to find files taking most of disk space

 

You could do DIR to a text file and then sort the listing by file size.

 

Prem Mehrotra wrote:

> I am on Windowns 2003 but 2000 command should work on 2003

> as well.

>

> Is there a command which will show me disk usgae sorted by disk space so I

> can find which files are utilizing most of the space. I do not want to buy

> any third party tools, looking for a command or something from sysinternals

> which can be run to get this information.

>

> I am a UNIX guy learning Windows.

>

> Thanks a lot.

Guest Prem Mehrotra
Posted

Re: HOw to find files taking most of disk space

 

Thanks a lot to both of you for quick response.

 

"Bob I" wrote:

> You could do DIR to a text file and then sort the listing by file size.

>

> Prem Mehrotra wrote:

>

> > I am on Windowns 2003 but 2000 command should work on 2003

> > as well.

> >

> > Is there a command which will show me disk usgae sorted by disk space so I

> > can find which files are utilizing most of the space. I do not want to buy

> > any third party tools, looking for a command or something from sysinternals

> > which can be run to get this information.

> >

> > I am a UNIX guy learning Windows.

> >

> > Thanks a lot.

>

>

Guest b.jeswine
Posted

Re: HOw to find files taking most of disk space

 

In news:8BA34664-0B11-494E-8F73-3861372C2BAF@microsoft.com,

Prem Mehrotra <PremMehrotra@discussions.microsoft.com> typed:

> Is there a command which will show me disk usgae sorted by disk space

> so I can find which files are utilizing most of the space. I do not

> want to buy any third party tools, looking for a command or something

> from sysinternals which can be run to get this information.

>

> I am a UNIX guy learning Windows.

 

If you already know Unix then you're in for a lot of frustration and

disappointment with M$ Windows.

 

"disk usage" != "sum(${file,dir}_size)", but

 

dir | sort /+20 /R | more

 

will (somewhat) list things largest to smallest in the current directory.

Additional arguments can be provided to the dir command to include

subdirectories "/S" etc., and you can redirect the output to a file ">

filename" instead of piping to the pager "more" if you like.

 

Alternatively, if you can use the GUI, just open the explorer and search for

all files/dirs by leaving both the "Search for ..." and "Containing ..."

fields blank, then just click on the "Size" column header to sort in the

desired order.

 

Your best bet is to "share" the M$ directory of interest, "mount" it using

your Unix utility, and process the information on that platform instead

using the native sed, awk, sort etc. utilities that give Unix the power that

it has. Or install http://www.cygwin.com/ and get some real work done

without leaving the M$ machine.

Posted

Re: HOw to find files taking most of disk space

 

http://www.satsignal.eu/software/disk.html#ShowMan

 

On Tue, 28 Oct 2008 09:16:05 -0700, Prem Mehrotra

<PremMehrotra@discussions.microsoft.com> wrote:

>I am on Windowns 2003 but 2000 command should work on 2003

>as well.

>

>Is there a command which will show me disk usgae sorted by disk space so I

>can find which files are utilizing most of the space. I do not want to buy

>any third party tools, looking for a command or something from sysinternals

>which can be run to get this information.

>

>I am a UNIX guy learning Windows.

>

>Thanks a lot.


×
×
  • Create New...