多语言展示
当前在线:1044今日阅读:26今日分享:39

怎么清理C盘垃圾?

经常清理C盘垃圾,会让系统运行更快,避免死机,今天教大家一种简单实用的方法,用文本文档清理垃圾
工具/原料

文本文档

方法/步骤
1

在电脑桌面空白处右键-建立文本文档

2

把以下代码复制到文本里 @echo offecho 正在清除系统垃圾文件,请稍等......del /f /s /q %systemdrive%\*.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 清除系统垃圾完成!echo. & pause

3

另存为.bat类型的文件后,双击运行

推荐信息