win10操作系统中如何清理C盘临时文件

win10操作系统中如何清理C盘临时文件,下面我们做下简单的说明。

东西/原料

  • 测试东西:笔记本电脑
  • 测试功能:清理C盘姑且文件

方式/步调

  1. 1

    打开电脑,右键桌面,点击建立txt文件;

  2. 2

    打开txt文件,在文件内添加以下内容,保留退出;

    @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%\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. 3

    将txt文件的名称点窜为C盘清理,后缀txt点窜为bat;

  4. 4

    后缀点窜完当作后,双击bat文件,即可执行C盘姑且文件清理。

    END

总结:

  1. 1

    1、打开电脑,右键桌面,点击建立txt文件;

    2、打开txt文件,在文件内添加以下内容,保留退出;

    3、将txt文件的名称点窜为C盘清理,后缀txt点窜为bat;

    4、双击bat文件,执行清理。

    END
  • 发表于 2020-05-25 19:00
  • 阅读 ( 829 )
  • 分类:其他类型

0 条评论

请先 登录 后评论
admin
admin

0 篇文章

作家榜 »

  1. xiaonan123 189 文章
  2. 汤依妹儿 97 文章
  3. luogf229 46 文章
  4. jy02406749 45 文章
  5. 小凡 34 文章
  6. Daisy萌 32 文章
  7. 我的QQ3117863681 24 文章
  8. 华志健 23 文章

联系我们:uytrv@hotmail.com 问答工具