egg6600 当前离线
列兵
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"复制代码
TOP
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复制代码