@echo offFOR /F "eol= skip=5 tokens=3,4 delims=, " %%i in ('dir/-c /os /a-d')do ( if /i %%i GTR 5120000 (echo delete %%j) else echo left %%j )用时把 echo delete %%j 中的Echo去掉,否则只是显示命令,不会真的删除.慎用