PC Review


Reply
 
 
Dan
Guest
Posts: n/a
 
      16th Mar 2004
Is there anything in the resource kit that can get me a
DIR listing of folders and show the size of the folder. I
need to know how much space all folders contian in a
shared folder.
 
Reply With Quote
 
 
 
 
Phil Robyn [MVP]
Guest
Posts: n/a
 
      16th Mar 2004
Dan wrote:

> Is there anything in the resource kit that can get me a
> DIR listing of folders and show the size of the folder. I
> need to know how much space all folders contian in a
> shared folder.


DIRUSE displays a list of disk usage for a directory tree(s). Version 1.20

DIRUSE [/S | /V] [/M | /K | /B] [/C] [/,] [/Q:# [/L] [/A] [/D] [/O]] [/*] DIRS

/S Specifies whether subdirectories are included in the output.
/V Output progress reports while scanning subdirectories. Ignored if /S is specified.
/M Displays disk usage in megabytes.
/K Displays disk usage in kilobytes.
/B Displays disk usage in bytes (default).
/C Use Compressed size instead of apparent size.
/, Use thousand separator when displaying sizes.
/L Output overflows to logfile .\DIRUSE.LOG.
/* Uses the top-level directories residing in the specified DIRS
/Q:# Mark directories that exceed the specified size (#) with a "!".
(If /M or /K is not specified, then bytes is assumed.)
/A Specifies that an alert is generated if specified sizes are exceeded.
(The Alerter service must be running.)
/D Displays only directories that exceed specified sizes.
/O Specifies that subdirectories are not checked for specified size
overflow.
DIRS Specifies a list of the paths to check.

Note: Parameters can be typed in any order. And the '-' symbol can be
used in place of the '/' symbol.

Also, if /Q is specified, then return code is ONE if any directories are found that
exceed the specified sizes. Otherwise the return code is ZERO.

Example: diruse /s /m /q:1.5 /l /* c:\users
--
Phil Robyn
Univ. of California, Berkeley

u n z i p m y a d d r e s s t o s e n d e - m a i l
 
Reply With Quote
 
Colon Terminus
Guest
Posts: n/a
 
      17th Mar 2004

And just where does one obtain this DIRUSE program? It ain't part of my
Windows 2000 Pro installation.


"Phil Robyn [MVP]" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> Dan wrote:
>
> > Is there anything in the resource kit that can get me a
> > DIR listing of folders and show the size of the folder. I
> > need to know how much space all folders contian in a
> > shared folder.

>
> DIRUSE displays a list of disk usage for a directory tree(s). Version 1.20
>
> DIRUSE [/S | /V] [/M | /K | /B] [/C] [/,] [/Q:# [/L] [/A] [/D] [/O]] [/*]

DIRS
>
> /S Specifies whether subdirectories are included in the output.
> /V Output progress reports while scanning subdirectories. Ignored if

/S is specified.
> /M Displays disk usage in megabytes.
> /K Displays disk usage in kilobytes.
> /B Displays disk usage in bytes (default).
> /C Use Compressed size instead of apparent size.
> /, Use thousand separator when displaying sizes.
> /L Output overflows to logfile .\DIRUSE.LOG.
> /* Uses the top-level directories residing in the specified DIRS
> /Q:# Mark directories that exceed the specified size (#) with a "!".
> (If /M or /K is not specified, then bytes is assumed.)
> /A Specifies that an alert is generated if specified sizes are

exceeded.
> (The Alerter service must be running.)
> /D Displays only directories that exceed specified sizes.
> /O Specifies that subdirectories are not checked for specified size
> overflow.
> DIRS Specifies a list of the paths to check.
>
> Note: Parameters can be typed in any order. And the '-' symbol can be
> used in place of the '/' symbol.
>
> Also, if /Q is specified, then return code is ONE if any

directories are found that
> exceed the specified sizes. Otherwise the return code is ZERO.
>
> Example: diruse /s /m /q:1.5 /l /* c:\users
> --
> Phil Robyn
> Univ. of California, Berkeley
>
> u n z i p m y a d d r e s s t o s e n d e - m a i l



 
Reply With Quote
 
Rick
Guest
Posts: n/a
 
      17th Mar 2004
http://www.microsoft.com/windows2000...g/diruse-o.asp

Took 0.13 seconds to find with a Google search.

Rick

"Colon Terminus" <(E-Mail Removed)> wrote in message news:yN%5c.2775801$(E-Mail Removed)...
>
> And just where does one obtain this DIRUSE program? It ain't part of my
> Windows 2000 Pro installation.
>
>
> "Phil Robyn [MVP]" <(E-Mail Removed)> wrote in message
> news:#(E-Mail Removed)...
> > Dan wrote:
> >
> > > Is there anything in the resource kit that can get me a
> > > DIR listing of folders and show the size of the folder. I
> > > need to know how much space all folders contian in a
> > > shared folder.

> >
> > DIRUSE displays a list of disk usage for a directory tree(s). Version 1.20
> >
> > DIRUSE [/S | /V] [/M | /K | /B] [/C] [/,] [/Q:# [/L] [/A] [/D] [/O]] [/*]

> DIRS
> >
> > /S Specifies whether subdirectories are included in the output.
> > /V Output progress reports while scanning subdirectories. Ignored if

> /S is specified.
> > /M Displays disk usage in megabytes.
> > /K Displays disk usage in kilobytes.
> > /B Displays disk usage in bytes (default).
> > /C Use Compressed size instead of apparent size.
> > /, Use thousand separator when displaying sizes.
> > /L Output overflows to logfile .\DIRUSE.LOG.
> > /* Uses the top-level directories residing in the specified DIRS
> > /Q:# Mark directories that exceed the specified size (#) with a "!".
> > (If /M or /K is not specified, then bytes is assumed.)
> > /A Specifies that an alert is generated if specified sizes are

> exceeded.
> > (The Alerter service must be running.)
> > /D Displays only directories that exceed specified sizes.
> > /O Specifies that subdirectories are not checked for specified size
> > overflow.
> > DIRS Specifies a list of the paths to check.
> >
> > Note: Parameters can be typed in any order. And the '-' symbol can be
> > used in place of the '/' symbol.
> >
> > Also, if /Q is specified, then return code is ONE if any

> directories are found that
> > exceed the specified sizes. Otherwise the return code is ZERO.
> >
> > Example: diruse /s /m /q:1.5 /l /* c:\users
> > --
> > Phil Robyn
> > Univ. of California, Berkeley
> >
> > u n z i p m y a d d r e s s t o s e n d e - m a i l

>
>



 
Reply With Quote
 
Phil Robyn [MVP]
Guest
Posts: n/a
 
      17th Mar 2004
Colon Terminus wrote:

> And just where does one obtain this DIRUSE program? It ain't part of my
> Windows 2000 Pro installation.


. . . 'resource kit' . . .

>
>
> "Phil Robyn [MVP]" <(E-Mail Removed)> wrote in message
> news:#(E-Mail Removed)...
>
>>Dan wrote:
>>
>>
>>>Is there anything in the resource kit that can get me a
>>>DIR listing of folders and show the size of the folder. I
>>>need to know how much space all folders contian in a
>>>shared folder.

>>
>>DIRUSE displays a list of disk usage for a directory tree(s). Version 1.20
>>
>>DIRUSE [/S | /V] [/M | /K | /B] [/C] [/,] [/Q:# [/L] [/A] [/D] [/O]] [/*]

>
> DIRS
>
>>/S Specifies whether subdirectories are included in the output.
>>/V Output progress reports while scanning subdirectories. Ignored if

>
> /S is specified.
>
>>/M Displays disk usage in megabytes.
>>/K Displays disk usage in kilobytes.
>>/B Displays disk usage in bytes (default).
>>/C Use Compressed size instead of apparent size.
>>/, Use thousand separator when displaying sizes.
>>/L Output overflows to logfile .\DIRUSE.LOG.
>>/* Uses the top-level directories residing in the specified DIRS
>>/Q:# Mark directories that exceed the specified size (#) with a "!".
>> (If /M or /K is not specified, then bytes is assumed.)
>>/A Specifies that an alert is generated if specified sizes are

>
> exceeded.
>
>> (The Alerter service must be running.)
>>/D Displays only directories that exceed specified sizes.
>>/O Specifies that subdirectories are not checked for specified size
>> overflow.
>>DIRS Specifies a list of the paths to check.
>>
>>Note: Parameters can be typed in any order. And the '-' symbol can be
>> used in place of the '/' symbol.
>>
>> Also, if /Q is specified, then return code is ONE if any

>
> directories are found that
>
>> exceed the specified sizes. Otherwise the return code is ZERO.
>>
>>Example: diruse /s /m /q:1.5 /l /* c:\users
>>--
>>Phil Robyn
>>Univ. of California, Berkeley
>>
>>u n z i p m y a d d r e s s t o s e n d e - m a i l

>
>
>



--
Phil Robyn
Univ. of California, Berkeley

u n z i p m y a d d r e s s t o s e n d e - m a i l
 
Reply With Quote
 
Ricardo M. Urbano - W2K/NT4 MVP
Guest
Posts: n/a
 
      17th Mar 2004
Dan wrote:
>
> Is there anything in the resource kit that can get me a
> DIR listing of folders and show the size of the folder. I
> need to know how much space all folders contian in a
> shared folder.


Here's a dirty little secret...

compact /s:[fully qualified path]

does the same thing and it's native

hth
--
Ricardo M. Urbano
Microsoft Windows 2000/NT MVP
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Listing Tatar Windows XP General 3 29th Apr 2007 01:36 PM
Listing sAMAccountName when listing Group Membership =?Utf-8?B?UGV0ZQ==?= Microsoft Windows 2000 Active Directory 2 22nd Aug 2005 10:52 PM
RE:Listing of one cell controlling the listing of another cell. peijuan Microsoft Excel Programming 0 8th Aug 2004 03:17 AM
Box Listing Leo Kerner Microsoft Outlook 8 9th Jun 2004 03:23 AM
how can I get a listing... Phillips Microsoft Outlook VBA Programming 1 4th Dec 2003 07:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:14 PM.