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

前端 未结 0 1886
抹茶落季
抹茶落季 2021-02-12 18:52

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) |

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