/ Published in: Windows PowerShell

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function Replace-String($find, $replace, $path) { echo "Replacing string `"$find`" with string `"$replace`" in file contents and file names of path: $path" } # Example Replace-String "Temp1" "Temp2" "D:\Temp"
Comments
