zoukankan      html  css  js  c++  java
  • 清理系统垃圾文件 请命名为:*.bat

     1 @echo off
     2 echo 正在清理系统垃圾文件,请稍等......
     3 
     4 del /f /s /q %systemdrive%\*.tmp
     5 del /f /s /q %systemdrive%\*._mp
     6 
     7 del /f /s /q %systemdrive%\*.gid
     8 del /f /s /q %systemdrive%\*.chk
     9 del /f /s /q %systemdrive%\*.old
    10 
    11 
    12 del /f /s /q %systemdrive%\recycled\*.*
    13 del /f /s /q %windir%\*.bak
    14 del /f /s /q %windir%\prefetch\*.*
    15 rd /s /q %windir%\temp & md %windir%\temp
    16 del /f /q %userprofile%\cookies\*.*
    17 del /f /q %userprofile%\recent\*.*
    18 del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
    19 del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
    20 del /f /s /q "%userprofile%\recent\*.*"
    21 
    22 echo 清理系统垃圾完成!
    23 
    24 echo                     /////////////////////////////////////////
    25 
    26 
    27 
    28 echo                             我不去想:是否能够成功,
    29 echo                               既然选择了远方!
    30 echo                               便只顾风雨兼程
    31 echo                                    ……
    32 
    33 
    34 echo                          我不去想:身后会不会袭来寒风冷雨,
    35 echo                               既然目标是---地平线,
    36 echo                               留给世界的只能是背影!!!
    37 echo                                    ……
    38 
    39 
    40 echo                     /////////////////////////////////////////
    41 
    42 
    43 
    44 echo. & pause 
  • 相关阅读:
    c++ 图解快速排序算法
    Shell脚本检测文件夹是否已被挂载的方法
    Linux使用mount挂载samba共享
    PHP使用字符串名称调用类的方法
    命令行查看端口号被进程占用
    Golang Clearing slice
    送给自己的程序员箴言
    Entity Framework6 with Visual Studio 2013 update3 for Oracle 11g
    深入浅出ASP.NET MVC5系列之一
    年终福利:调试.NET Framework源代码
  • 原文地址:https://www.cnblogs.com/alamps/p/2398084.html
Copyright © 2011-2022 走看看