批量删除文件夹内所有文件!

来源:百度知道 编辑:UC知道 时间:2024/09/28 07:57:42
如何删除E盘vod_cache_data内所有文件包括文件夹。批处理命令是什么?
还有,想做一个BAT,自动清理系统垃圾文件包括PP,迅雷看看等缓存,最后加载一关机倒计时批处理!

最好是可以定时启动的!有没有倒计时打开软件的小工具?

@ECHO OFF
attrib -s -r -a -h "e:\vod_cache_data"
rd /s /q "e:\vod_cache_data"
if exist "%appdata%\pipi" rd /s /q "%appdata%\pipi"
if exist "%appdata%\pipi" rd /s /q "%appdata%\thunder"
if exist "%allusersprofile%\pipi" rd /s /q "%appdata%\thunder"
if exist "%allusersprofile%\pipi" rd /s /q "%appdata%\thunder"
del /f /s /q "%tmp%"
echo.
echo 关机等待时间
set /p num=
shutdown -f -s -t %num% && set num= && exit

@ECHO OFF
attrib -s -r -a -h "e:\vod_cache_data"
rd /s /q "e:\vod_cache_data"
if exist "%appdata%\pipi" rd /s /q "%appdata%\pipi"
if exist "%appdata%\pipi" rd /s /q "%appdata%\thunder"
if exist "%allusersprofile%\pipi" rd /s /q "%appdata%\thunder