清理垃圾和自动安装补丁

 

 

下面两个都是来自互联网,是自己GOOGLE出来的,也不记得是摘自谁的了,但也经过自己亲身试验过后修改的。谢谢大家!

 

1.using the bat file,delete the useless empty_folds

command as:dir /ad /s /b|sort /r >clear_empty_dir.bat

 

clear_empty_dir.bat's contents example :
C:/Documents and Settings/Administrator/nsr646.tmp
C:/Documents and Settings/Administrator/Local Settings
C:/Documents and Settings/Administrator/Templates
C:/Documents and Settings/Administrator/
「开始」菜单

C:/Documents and Settings/Administrator/SendTo
C:/Documents and Settings/Administrator/Recent

 

Edit the documents with word software,and you can turn it's contents into as:

rd /q /s 'C:/Documents and Settings/Administrator/nsr646.tmp'
rd /q /s 'C:/Documents and Settings/Administrator/Local Settings'
rd /q /s 'C:/Documents and Settings/Administrator/Templates'
rd /q /s 'C:/Documents and Settings/Administrator/
「开始」菜单
'
rd /q /s 'C:/Documents and Settings/Administrator/SendTo'
rd /q /s 'C:/Documents and Settings/Administrator/Recent'

 

last step:double click the clear_empty_dir.bat

 

2. install many software automaticly in the same fold.

After we reinstall our OS with the GHOST XP,there are too many system loopholes in the OS.We can use the 360 software to patch it.For reduce the discharge of the Network traffic,i copy the folds in 'C:/Program Files/360safe/hotfix' from other's computer.But the question how install too many files automaticly being come.So i keep a record after done the question.

 

command as :dir /b /o-d>patch.bat

 

the patch.bat contents as(part):

WindowsXP-KB886677-x86-chs.exe
WindowsXP-KB944338-x86-CHS.exe
WindowsXP-KB941693-x86-CHS.exe
WindowsXP-KB945553-x86-CHS.exe

WindowsXP-KB947864-x86-CHS.exe

WindowsXP-KB948881-x86-CHS.exe
WindowsXP-KB948590-x86-CHS.exe

 

we can turn the contents into bellow:

start /wait WindowsXP-KB886677-x86-chs.exe /U /Z
start /wait WindowsXP-KB944338-x86-CHS.exe /U /Z
start /wait WindowsXP-KB941693-x86-CHS.exe /U /Z
start /wait WindowsXP-KB945553-x86-CHS.exe /U /Z
start /wait WindowsXP-KB947864-x86-CHS.exe /U /Z
start /wait WindowsXP-KB948881-x86-CHS.exe /U /Z
start /wait WindowsXP-KB948590-x86-CHS.exe /U /Z

 

so we can double click the patch.bat to excute it.

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值