一、滚动cmd
color a
扫描当前所有目录
dir /s
二、清理垃圾
创建txt文件
@echo off
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 %windir%\*.bak
del/f/q %systemdrive%\recycled\*.*
del/f/q %windir%\prefetch\*.*
rd/s/q %windir%\temp & md %windir%\tempemp% &md %temp%
del/f/q %userprofile%\cookies\*.*
del/f/q %userprofile%\recent\*.*
rd/s/q \“%userprofile%\Local Settings\Temporary Internet Files\”
cls & echo 系统垃圾清除完成:)
echo. & pause
该文件为bat后缀名
总结
good afternoon