想用批处理搞个定时器定时删除某个文件夹,实现如下:

@echo off


:again

echo 延时1秒中...

ping -w 1000 127.1>nul

RMDIR /S /Q G:\4\dir


goto again

批处理定时删除文件夹_删除文件夹