F090706 当前离线
列兵
小小菜鸟 当前离线
上等兵
TOP
@powershell -c "(Get-ChildItem -Path '目录' -Recurse -File | Select-Object -First 1).Name"复制代码
qixiaobin0715 当前在线
大校
@echo off md "D:\NewFolder" for /f "delims=" %%a in ('dir /b /ad') do ( pushd "%%a" for /f "delims=" %%i in ('dir /b /a-d^|findstr /r /b "[0-9]*-[0-9]*-[0-9]*\."') do ( copy "%%i" "D:\NewFolder">nul ) popd ) pause复制代码
评分人数
('dir /b /a-d ???-????-????.*')复制代码