美文网首页
C盘瘦身

C盘瘦身

作者: 刘波_ecae | 来源:发表于2019-05-05 15:55 被阅读0次

    C盘瘦身链接

    第一步|打开记事本

    通过【开始-所有程序-附件-记事本】或者直接按下快捷键【Win + R】打开运行,并输入【Notepad】并回车。

    如何清理c盘垃圾

    第二步:输入以下代码

    @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%\*.bakdel /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\*.*" echo 清除系统LJ完成! echo. & pause

    输入后的效果如下图所示:

    如何清理c盘垃圾

    第三步:保存成.bat文件

    确认以上代码输入无误之后,点【文件-另存为】,在弹出的窗口中选择【保存类型】为“所有文件”(此操作非常重要),【文件名称】为“C盘瘦身.bat”,选择保存位置为桌面。

    相关文章

      网友评论

          本文标题:C盘瘦身

          本文链接:https://www.haomeiwen.com/subject/wjrhoqtx.html