ivor 当前离线
上校
2>nul md abc & move abc* .\abc复制代码
TOP
ls *_*.txt | group {[regex]::Match($_.Name,"^[^_]*")}| %{ mkdir $_.Name -ErrorAction Ignore;Move-Item -Path ($_.Group) -Destination $_.name}复制代码