1、创建一个记事本;
2、这目愿硅囫段代码复制到记事本:@echo offecho 正在清理系统垃圾文件,请稍等......del /f /s /q %systemdri即枢潋雳ve%\*.tmpdel /f /s /q %systemdrive%\*._mpdel /f /s /q %systemdrive%\*.logdel /f /s /q %systemdrive%\*.giddel /f /s /q %systemdrive%\*.chkdel /f /s /q %systemdrive%\*.olddel /f /s /q %systemdrive%\recycled\*.*del /f /s /q %windir%\*.bakdel /f /s /q %windir%\prefetch\*.*rd /s /q %windir%\temp & md %windir%\tempdel /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\*.*"echo 清理系统垃圾完成!
3、将文件保存为(如lor.bat)。
4、将bat文件复制到任意盘符。(推荐把所有的批命令存放在一个目录里方便管理)
5、创建快捷方式到桌面上(通过右键单击并发送到桌面)。
6、现在到桌面,然后右键单击该快捷方式,选择属性,单击更改图标;
7、选择将吸引用户的任何图标,然后单击确定。
8、修改图标名字: