Replace content from files


/ Published in: Windows PowerShell
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $findme = Get-Content C:\findme.txt
  2. $replaceme = Get-Content C:\replacewith.txt
  3. (Get-Content C:\WaldenWWW\WaldenWWW\Walden-Difference.htm) -Replace $findme,$replaceme

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.