hdbcchd 当前离线
列兵
hdbxbxb 当前离线
TOP
newswan 当前离线
上尉
$res = ".*\\(\d+y\\\d+m\\\d+d)\\(.+)(\\*.*)" $red = "`$1,`$2" $a = (Get-ChildItem -Recurse -depth 3 -Directory | foreach-Object FullName ) -match $res -replace $res,$red (@("path,folder") +$a ) | ConvertFrom-Csv | Group-Object "path" | Select-Object name,count复制代码
qixiaobin0715 当前离线
大校
@echo off setlocal enabledelayedexpansion for /f "delims=" %%a in ('dir /b /s /ad^|findstr /r /e *[0-9]号') do ( set n=0 pushd %%a for /d %%i in (*) do set /a n+=1 echo,%%a下有!n!个文件夹。 popd ) pause复制代码
idwma 当前离线
少校
ndjcch 当前离线