
CODE: [Copy to clipboard][ Last edited by suntb on 2008-3-7 at 04:21 PM ]@echo off&setlocal enabledelayedexpansion
for /r . %%i in (*.exe) do (
set "day=%%~ti"
if "!day:~0,10!"=="%date:~0,10%" (
set "pth=%%~pi"
if /i not "!pth:~1,3!"=="aaa" (
echo del /q "%%i"
)
)
)
pause
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |