egg6600 当前离线
列兵
qixiaobin0715 当前离线
大校
@echo off cd "aaa" for /f "delims=" %%i in ('dir /b /s /a-d *mp4^|find /v /c ""') do set bbb=%%i echo,%bbb% pause复制代码
TOP
aloha20200628 当前离线
上尉
for /f %%n in ('dir /b/a-d c:\aaa\*.mp4^|find /v /c "" ') do @set/a "bbb=%%n"复制代码
for /f %%n in ('powershell "(dir 'c:\aaa\*.mp4').count" ') do @set/a "bbb=%%n"复制代码