返回

主站>>工具首页>>diruse

diruse

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.
扫描子目录时打印报告 如果/s被指定就会被忽略。

/M Displays disk usage in megabytes.
以M位单位显示

/K Displays disk usage in kilobytes.
以K位单位显示

/B Displays disk usage in bytes (default).
以B位单位显示

/C Use Compressed size instead of apparent size.

/, Use thousand separator when displaying sizes.
使用,作为数值千倍值标点付,如10000 显示成10,000

/L Output overflows to logfile .\DIRUSE.LOG.
打印日记 ,默认在diruse所在目录,好像不能指定路径和文件名称

/* Uses the top-level directories residing in the specified DIRS
指定目录下的第一层所有目录大小,比如指定在e:\ 则就是e:\下的所有一级目录

/Q:# Mark directories that exceed the specified size (#) with a "!".
(If /M or /K is not specified, then bytes is assumed.
在指定大小的文件夹前标记"!",比如:
diruse /* /q:10 /M e:\
显示:
Searching for directories that have exceeded 10 megabytes
Size (mb) Files Directory
0.17 60 SUB-TOTAL: E:\ico
! 27.27 153 SUB-TOTAL: E:\profession
0.00 2 SUB-TOTAL: E:\RECYCLER
0.06 30 SUB-TOTAL: E:\System Volume Information
! 1384.54 1 SUB-TOTAL: E:\~1

在大于10M的的文件前,都有"!"标记

/A Specifies that an alert is generated if specified sizes are exceeded.
(The Alerter service must be running.)
设置指定文件夹的最大空间限额,当文件夹占用的空间超出限额时会出现警报
当超出指定大小时作一个提示:Alerter service不需开启

/D Displays only directories that exceed specified sizes.
和/q一起使用,仅显示指定大小的文件夹。

/O Specifies that subdirectories are not checked for specified size
overflow.
与/q一起使用,忽略特定子目录不被查询。

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


Powered By anywolfs-狼族部落 CopyRight 2006, 刘辉的博客 xhtml | css


京ICP备06060029号