加速xp 碎片整理(defrag)速度

原文如下,大意为一启动xp就立刻整理碎片,这样pagefile.sys 页面文件是干净的,不用花时间去整理这个文件了。可以在注册表中,服务 RunOnce 中添加 Defrag.exe c: /f,这样启动后自动开始整理碎片。

A simple way to speed up a defrag operation in Windows XP is to restart the system before you launch Defrag. This allows the operating system to clear out the swap/paging file and reset it to the default size. This lets Defrag focus strictly on the necessary data on the hard disk, without having to stop and manage a huge swap file loaded with unneeded data.

Another approach to speeding up a defrag operation in Windows XP is to configure them to occur immediately upon startup. Fortunately, you can do so easily with a simple registry edit. Follow these steps:

1. Launch the Registry Editor (Regedit.exe).
2. Go to HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/RunOnce.
3. Right-click the RunOncesubkey and select New | String Value.
4. Name the value Defrag and press [Enter] twice.
5. Type Defrag.exe c: /f in the Value Data text box, and click OK.
6. Close the Registry Editor and restart Windows.

The defrag operation will begin when you type in your password and press [Enter]. (Keep in mind that values added to the RunOnce key are removed immediately after the command has been run.)

Note: This tip applies to both Windows XP Home and Professional editions.

via Speed up Windows XP's defrag operations

注:

defrag <volume> [-a] [-f] [-v] [-?]
volume 驱动器号或装载点(d: 或 d:/vol/mountpoint)
-a 只分析
-f 即使可用空间不足,也强制碎片整理
-v 详述结果
-? 显示这段帮助文字 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值