多语言展示
当前在线:1472今日阅读:23今日分享:25

小白经验,电脑卡慢,一件制作自己的清理工具。

半个月清理一次,保证系统流畅完美运行,常常清理垃圾文件,有助于电脑寿命,对电脑有着保养功效。
工具/原料

一个本文档,一段代码,后缀名更改,就完成了,看方法把。

方法/步骤
1

1(建立本文文档),桌面右键单击新建找到新建文本文档。

2

2(复制粘贴代码),将这里的代码复制到本文文档里面:@echo off   echo 正在清除系统垃圾文件,请稍等......   echo   清除XP系统垃圾工具 提示部份软件卸载需LOG 文件,清理掉后就无法卸载del /f /s /q %systemdrive%\*.tmp RD %windir%\$hf_mig$ /Q /S del %windir%\2950800.txt /f /q for /f %%i in (%windir%\2950800.txt) do rd %windir%\%%i /s /q dir %windir%\$NtUninstall* /a:d /b >%windir%\2950800.txt del /f /s /q %systemdrive%\*._mp del /f /s /q %systemdrive%\*.log del /f /s /q %systemdrive%\*.gid del /f /s /q %systemdrive%\*.pnf del /f /s /q %systemdrive%\infcache.1 del /f /s /q %systemdrive%\*.old del /f /s /q %systemdrive%\recycled\*.* del /f /s /q %windir%\*.bak del /f /s /q %windir%\prefetch\*.* rd /s /q %windir%\temp & md %windir%\temp del /f /q %userprofile%\cookies\*.* del /f /q %userprofile%\recent\*.* del /f /s /q '%userprofile%\Local Settings\Temporary Internet Files\*.*' del /f /s /q '%userprofile%\Local Settings\Temp\*.*' del /f /s /q '%userprofile%\recent\*.*' del /a /f /s /q '%userprofile%\Locals~1\Tempor~1\*.*' del /a /f /s /q '%userprofile%\Locals~1\Temp\*.*' del /a /f /s /q '%userprofile%\cookies\*.*' del /a /f /s /q '%userprofile%\recent\*.*' del /a /f /s /q '%Temp%\*.*' del /a /f /s /q '%Tmp%\*.*' del /a /f /s /q '%HomePath%\..\IconCache.db' del /a /f /s /q '%SystemRoot%\*._mp' del /a /f /s /q '%SystemRoot%\*.bak' del /a /f /s /q '%SystemRoot%\*.log' del /a /f /s /q '%SystemRoot%\*.dmp' del /a /f /s /q '%SystemRoot%\*.gid' del /a /f /s /q '%SystemRoot%\*.old' del /a /f /s /q '%SystemRoot%\*.query' del /a /f /q '%SystemRoot%\*.tmp' rd /s /q '%SystemRoot%\Downloaded Program Files' rd /s /q '%SystemRoot%\Offline Web Pages' rd /s /q '%systemroot%\Connection Wizard' rd /s /q '%SystemRoot%\SoftwareDistribution\Download' rd /s /q '%SystemRoot%\Assembly' rd /s /q '%SystemRoot%\ReinstallBackups' del /a /s /q '%SystemRoot%\inf\*.pnf' del /a /f /s /q '%SystemRoot%\inf\InfCache.1' dir %SystemRoot%\inf\*.* /ad/b >%SystemRoot%\vTmp.txt for /f %%a in (%SystemRoot%\vTmp.txt) do rd /s /q '%SystemRoot%\inf\%%a' del /a /f /s /q '%SystemRoot%\driver?\*.pnf' del /a /f /s /q '%SystemRoot%\driver?\InfCache.1' del /a /f /s /q '%SystemDrive%\driver?\*.pnf' del /a /f /s /q '%SystemDrive%\driver?\InfCache.1' rd /s /q '%SystemRoot%\temp' & md '%SystemRoot%\temp' del /a /f /s /q '%SystemRoot%\Prefetch\*.*' del /a /f /s /q '%SystemRoot%\minidump\*.*' del /a /f /q '%SystemDrive%\*.chk' dir %SystemDrive%\found.??? /ad/b >%SystemRoot%\vTmp.txt for /f %%a in (%SystemRoot%\vTmp.txt) do rd /s /q '%SystemDrive%\%%a' dir %SystemRoot%\$*$ /ad/b >%SystemRoot%\vTmp.txt for /f %%a in (%SystemRoot%\vTmp.txt) do rd /s /q '%SystemRoot%\%%a' rd /s /q '%ProgramFiles%\InstallShield Installation Information' Ren '%ProgramFiles%\Common~1\Real\Update_OB\realsched.exe' realsched.ex_ Del '%ProgramFiles%\Common~1\Real\Update_OB\realsched.exe' Reg Delete 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run' /v TkBellExe /f rd /s /q '%ProgramFiles%\Tencent\QQGame\Download' taskkill /f /im 'TIMPlatform.exe' /t del /a /f /s /q '%ProgramFiles%\Tencent\QQ\TIMPlatform.exe' del /a /f /s /q '%ProgramFiles%\Kaspersky Lab\*.tmp' del /a /f /s /q '%userprofile%\Application Data\SogouPY\sgim_ext.bin' del /a /f /s /q '%userprofile%\Application Data\Tencent\*.*' del /a /f /s /q '%userprofile%\Application Data\IconCache.db' del /a /f /s /q '%userprofile%\Application Data\PE Explorer\*.*' del /a /f /s /q '%userprofile%\Application Data\QQ\*.*' del /a /f /s /q '%userprofile%\Local Settings\Application Data\Macromedia\*.*' del /a /f /s /q '%userprofile%\Local Settings\Application Data\Tencent\*.*' del /a /f /s /q '%userprofile%\Local Settings\Application Data\DFX\*.*' del /a /f /s /q '%Windir%'\Tasks\*.*' del /a /f /s /q '%Windir%'\SoftwareDistribution\*.*' del /a /f /s /q '%Windir%'\Recent\*.*' del /a /f /s /q '%Windir%'\repair\*.*' del /a /f /s /q '%Windir%'\System32\catroot2\*.*' del /a /f /s /q '%Windir%'\System32\config \*.sav' del /a /f /s /q '%Windir%'\System32\ReinstallBackups\*.*' del /a /f /s /q '%Windir%'\System32\winntbbu.dll'echo 清除浏览器地址记录...reg delete 'HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedUrls' /f 2>nulREG ADD 'HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedUrls'echo 清除系统LJ完成!有效期2014 - ****** 支持任何系统完美~完美清理!echo. & pause

3

3(更改后缀名),点击保存然后关闭,马上就大工告成。

4

接下来就会看到桌面有一个这样的文件夹,双击它就可以清理瘦身了。很简单吧。

注意事项

在windows7系统内完美运行,windows xp windows 8 windows10 尚未测试。

推荐信息