天天看点

window powershell 替换文本的字符

(Get-Content file.txt) |

Foreach-Object {$_ -replace '[MYID]','MyValue'} |

Out-File file.txt

继续阅读