@echo offfor /f "tokens=*" %%i in ('dir/b *.txt') do (findstr /v "删除这一行" "%%i">temp.txtmove /y temp.txt "%%i")