复制代码
- @echo off &cd /d "D:\2新机器"
- for /f "tokens=3* delims= " %%a in (
- 'dir /s/a-d/tc/o-d^|findstr /bc:"%date:~,10%" '
- ) do for /f "delims=" %%F in ('dir/b/s "%%b" ') do del/q "%%F"
- pause&exit/b
欢迎光临 批处理之家 (http://bbs.bathome.net/) | Powered by Discuz! 7.2 |