WHY 当前离线
上校
TOP
001011 当前离线
六级士官
@echo off for /d %%i in ("D:\分件\*") do ( pushd "%%i" for /f "tokens=1* delims=-" %%j in ('dir /b /s "%%~nxi-*.jpg"') do ( copy "%%j-%%k" "%%i\%%k" 2>nul ) popd ) pause复制代码
评分人数
PowerShell "forEach($a In (dir D:\分件 -Recurse | ?{$_ -is [IO.DirectoryInfo] -and ![IO.Directory]::GetDirectories($_.FullName).Count})){md ($a.FullName+'\1')}"复制代码