Condividi tramite


Diruse Syntax

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

DirUse Syntax

DirUse uses the following syntax:

Art Imagediruse [/s|/v] [/m|/k|/b] [/c] [/,] [/q: Size] [/l] [/a] [/d] [/o] [/*] DirList [/? | /h | /help]

Parameters

  • /s
    Includes subdirectories of the specified directories in the output.
  • /v
    Writes progress reports while scanning subdirectories. The /v parameter is 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
    Uses compressed file size instead of apparent file size. See Diruse Examples.
  • /,
    Displays the thousands separator (comma or period) in file sizes.
  • /q: Size
    Marks, with an exclamation point (!), directories that exceed the specified size. If /m (megabytes) or /k (kilobytes) are not specified, the size is assumed to be in bytes. If /q is specified and any directory is found that exceeds the specified size, the return code is ONE. Otherwise the return code is ZERO.
  • /l
    Writes overflows to the log file Diruse.log in the current directory.
  • /a
    Specifies that an alert is generated if sizes specified by the /q: parameter are exceeded. The Alerter service must be running, and the alert appears only when you are using DirUse.
  • /d
    Displays only directories that exceed specified sizes.
  • /o
    Specifies that subdirectories are not checked to see if they exceed the specified size.
  • /*
    Uses the top-level directories residing in the directories specified in DirList.
  • DirList
    Specifies a list of directories to check. DirList is required if you are doing anything other than getting command-line usage. Use semicolons, commas, or spaces to separate multiple directories. See Diruse Examples for examples where DirList is a folder on a network volume and where DirList contains a list of folders.
  • ****/?| /h| /help
    Displays command-line usage.

Note

  • When run without parameters, DirUse displays command-line usage.

See Also

Concepts

Diruse Overview
Diruse Remarks
Diruse Examples
Alphabetical List of Tools
Topchk.cmd
Rsdir Overview
Rsdiag Overview
Iologsum Overview
Health_chk Overview
Ftonline Overview
Filever Overview
Efsinfo Overview
Dmdiag Overview
Dskprobe Overview
Dfsutil Overview
Connstat Overview
Cabarc Overview
Bitsadmin Overview