for /r %%F in (*) do if %%~zF LSS 1000 del "%%F"

(1)1000的单位是Byte

(2)(*)可以指定具体删除的文件扩展名如:(*.png *.gif),用空格分隔。

(3)equ 等于,LSS小于

相关文章: