
CODE: [Copy to clipboard]@echo off
REM set the folder path
REM
Set dir="D:\My application\DeleteFiles"
dir /b %dir%|findstr "20081231">test.txt
for /f "delims=" %%i in (test.txt) do del %dir%\%%i
del test.txt
cls&pause
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |