Powershell find and replace fails as file is used by another process

前端 未结 0 1218
渐次进展
渐次进展 2021-02-12 19:10

In a for loop, I search for various patterns in a file and replace them with pre-defined token :

((Get-Content -path $file -Raw) -replace $pattern, $tokenValue) |

相关标签:
回答
  • 消灭零回复
提交回复
热议问题