找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1342|回复: 0

Windows 7中的磁盘碎片整理命令Defrag

[复制链接]
hotfox 发表于 2009-7-24 10:28:31 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
众所周知系统在运行一段时间后会产生磁盘碎片,它会严重影响系统的运行速度,因此Windows系统自身也提供了Defrag命令帮助用户清理磁盘碎片,Windows 7自然也不例外,和Vista不同的是Windows 7中的Defrag新增了更多的选项,其命令行版本包含更多指令。

Defrag/?:显示所有选项

Description:

        Locates and consolidates fragmented files on local volumes to
        improve system performance.

Syntax:

        defrag <volumes> | /C | /E <volumes>    [/H] [/M | [/U] [/V]]
        defrag <volumes> | /C | /E <volumes> /A [/H] [/M | [/U] [/V]]
        defrag <volumes> | /C | /E <volumes> /X [/H] [/M | [/U] [/V]]
        defrag <volume>                      /T [/H]       [/U] [/V]

Parameters:

        Value        Description

        /A        Perform analysis on the specified volumes.

        /C        Perform the operation on all volumes.

        /E        Perform the operation on all volumes except those specified.

        /H        Run the operation at normal priority (default is low).

        /M        Run the operation on each volume in parallel in the background.

        /T        Track an operation already in progress on the specified volume.

        /U        Print the progress of the operation on the screen.

        /V        Print verbose output containing the fragmentation statistics.

        /X        Perform free space consolidation on the specified volumes.

Examples:

        defrag C: /U /V
        defrag C: D: /M
        defrag C:\mountpoint /A /U
        defrag /C /H /V

磁盘碎片整理命令Defrag

Windows 7中提供了很多非常实用的命令,比如“/H”意为以较高优先级执行操作,“/M”代表并行执行对各个卷的操作,如果你在运行中输入cmd打开命令提示符对话框,在其中键入“defrag /C /H /M”,系统就会以较高优先级并行对所有卷进行磁盘碎片清理。
论坛发展靠大家,积极提供资源;请勿灌水
通过分享您的互联网来赚钱
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|存档|商匡数科 ( 沪ICP备19008575号-1 )

GMT+8, 2024-9-29 08:19 , Processed in 0.034392 second(s), 20 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表