多语言展示
当前在线:1267今日阅读:141今日分享:15

如何让电脑运行的更流畅/自制清理工具

上次给大家讲述了,磁盘清理工具,是一个最简单最基本的一种方法,现在我要教大家制作一个小工具。大家知道我们的电脑在使用一段时间后,会感觉C盘越来越变的臃肿,它无形之中降低了我们电脑运行的流畅性,我们该怎样避免呢
方法/步骤
1

在程序中找到附件

2

在附件中选择记事本

3

将以下文本粘贴到文本中@echo off echo 正在清除系统垃圾文件,请稍等...... del /f /s /q %systemdrive%\*.tmp del /f /s /q %systemdrive%\*._mp del /f /s /q %systemdrive%\*.log del /f /s /q %systemdrive%\*.gid del /f /s /q %systemdrive%\*.chk 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%\小甜饼s\*.* 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 系统清理LJ完成! echo. & pause

4

选文件--另存为,如图注:文件名自编,但后缀必须携带.bat       保存类型选择所有文件

5

保存到桌面后,文件就变成了如图

注意事项

很多卫士清理软件垃圾的方法与此相同,我们可以根据自己的情况,去编写这样的程序,此例就算是一个模板

推荐信息