下面两个都是来自互联网,是自己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.