【转】windows的 fsutil命令

【转】windows的 fsutil命令

无意之间发现windows下还有这个命令!玩2年windows xp了,居然不知道!

C:\WINDOWS>fsutil
---- 支持的命令 ----

behavior        控制文件系统行为
dirty           管理卷的被损坏的位数
file            文件特定命令
fsinfo          文件系统信息
hardlink        硬链接管理
objectid        对象 ID 管理
quota           配额管理
reparsepoint    重分析点管理
sparse          稀疏文件控制
usn             USN 管理
volume          卷管理

-----------------------

这句话是从网上看到的:如果要查看当前NTFS版本号,只要在命令提示符中输入

“fsutil fsinfo ntfsinfo c:”(C为分区盘符)即可看到。

查询卷信息:

C:\WINDOWS>fsutil fsinfo ntfsinfo c:
NTFS 卷序列号 :       0x9c98ce8098ce5882
版本 :                         3.1
区数量 :                  0x0000000001388afb
簇总数 :                  0x000000000027115f
可用簇  :                  0x00000000000bbbcc
保留总数 :                  0x0000000000000070
每个扇区字节数  :               512
每个簇字节数 :               4096
每个 FileRecord 段的字节数    : 1024
每个 FileRecord 段的簇数 : 0
Mft 有效数据长度 :           0x0000000005a3c000
Mft 起始 Lcn  :                  0x00000000000c0000
Mft2 起始 Lcn :                  0x00000000001388af
Mft 区域起始 :                  0x00000000001a88e0
Mft 区域结尾   :                  0x00000000001b9900

-----------------------

创建长度自定义的文件:

fsutil file createnew C:\testfile.txt 10000

-----------------------

检查怀的卷:

C:\WINDOWS>fsutil dirty query c:
卷 - c: 没有损坏

-----------------------

查询卷的可用空间

C:\WINDOWS>fsutil volume diskfree c:
可用字节总数        : 3149250560
字节总数             : 10487197696
可用的尚未使用的字节总数  : 3149250560

-----------------------

此工具的详细用法在此:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/fsutil.mspx?mfr=true
Fsutil is a command-line utility that you can use to perform many FAT and NTFS file system related tasks, such as managing reparse points, managing sparse files, dismounting a volume, or extending a volume. Because fsutil is quite powerful, it should only be used by advanced users who have a thorough knowledge of Windows XP. In addition, you must be logged on as an administrator or a member of the Administrators group in order to use fsutil.

可见用处非常强大,是杀人越货,走私军火,两口子渡蜜月的必备良器。
改天学深了再来发表心得!
欢迎大家交流意见!


« 上一篇: current_date与sysdate区别
» 下一篇: AnyBizSoft PDF to Word
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值