批量删除空目录的bat命令

19 阅读1分钟
@echo off
for /f "tokens=*" %%i in ('dir/s/b/ad^|sort /r') do rd "%%i"

批量删除空目录