2023-05-01から1ヶ月間の記事一覧
文字を置換する Get-ChildItem $target|%{ if($_.GetType().Name -eq "FileInfo"){ (Get-Content $_.FullName)|%{ $_ -replace "探す文字列","置き換える文字列" }|Set-Content $_.FullName } } 1行目をスキップしたファイルに更新する Get-ChildItem $targe…
文字を置換する Get-ChildItem $target|%{ if($_.GetType().Name -eq "FileInfo"){ (Get-Content $_.FullName)|%{ $_ -replace "探す文字列","置き換える文字列" }|Set-Content $_.FullName } } 1行目をスキップしたファイルに更新する Get-ChildItem $targe…