BAT-使用BAT方法清理系统垃圾
2023-09-14 08:57:11 时间
@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
相关文章
- Oracle数据库数据恢复方法
- 【Java SE】方法的使用
- linux系统报xfs_vm_releasepage警告问题的处理方法
- 去掉linux 系统vi中出现^M字符的方法详解程序员
- Linux系统接收广播数据的方法(linux接收广播包)
- Linux查看系统带库方法简介(linux查看带库)
- 用Nohup在Linux系统中实现后台运行的方法(nohuplinux)
- 什么是系统抖动,系统抖动及解决方法详解
- Linux系统查看外网IP的方法 (linux外网ip)
- Oracle中处理空值的方法(oraclein空值)
- recovery恢复Linux系统图像的方法(linuximage)
- 安装 Linux 系统:U 盘的使用方法(u盘如何安装linux)
- Linux系统下大硬盘分区方法研究(linux大硬盘分区)
- 关闭Linux系统防火墙:快而有效的方法(关闭linux的防火墙)
- Linux显示图片的方法及注意事项(linux显示图片)
- 同步MySQL系统中时间同步的方法(mysql系统时间)
- Linux 查看系统位数的方法(linux查看位数)
- Oracle数据库: 快速学习建表脚本的方法(oracle建表脚本)
- Linux系统中下载Java的方法(linux下java下载)
- 文件Linux中删除文件的简单方法(linux 如何删除)
- Redis中间层简单提升系统性能的方法(如何做redis中间层)
- Redis操作出现的错误处理方法(redis 错误)
- newtonsoft.json解析天气数据出错解决方法
- window.location不跳转的问题解决方法
- win7下IIS7站点页面无法正常显示的解决方法
- oracle数据库中查看系统存储过程的方法
- 浅谈重写window对象的方法