PS2.0 当前离线
上等兵
@echo off powershell -c "Get-ChildItem *.txt | ForEach-Object {$NewFile = 'New-' + $_.Name; Get-Content $_ | ForEach-Object {$a = $_ -split ','; $a[6]=$a[4]; $a -join ','} | Out-File $NewFile}"复制代码
TOP