创建xxx.bat,内容如下
@echo off
echo Will delete file or directory,please confirm! [%1]
pause
echo Delete start! [%1]
echo %DATE:0,4%-%DATE:5,2%-%DATE:~8,2% %TIME:0,2%:%TIME:3,2%:%TIME:~6,2%
del /q /f /a %1
rd /q /s %1
echo Delete end!
echo %DATE:0,4%-%DATE:5,2%-%DATE:~8,2% %TIME:0,2%:%TIME:3,2%:%TIME:~6,2%
pause
网友评论