for /r %%f in (*) do ( if "%%~zf" equ "0" ( echo Deleting empty file: %%f del "%%f" ) else ( echo Skipping non-empty file: %%f ) )
for /d /r %%i in (*) do ( set "folder=%%i" if "!folder!"=="!folder:FILE=!" ( echo Deleting empty folder: %%i rmdir "%%i" ) )
请求资源或报告无效资源,请点击[反馈中心]