原始文件在这里:
http://bbs.bathome.net/thread-27183-1-1.html- New-Item -Path trc_new -ItemType directory
- Get-ChildItem *.trc | %{
- $nameNew = 'trc_new\' + $_.Name
- Get-Content $_ -Encoding UTF8 | %{
- $_ -replace "<\d+>", ""
- } | Out-File $nameNew -Encoding UTF8
- }
复制代码
|