i have an edited version of a config file specific for my machine. i have the same config file in multiple different directories in my development folder. i want to, in a single bat file, replace all instances of this file with my edited one.
So in pusedo code: Take C:\edited.config and copy to C:\Projects\ /s wherever original.config is found
i want the final file to have the name of original.config, not edited.config
so i am guessing i need some combination of a FOR, a rename and copy or something like that
is this easier to do in Powershell?
can anybody help? Thanks