I'm trying to create 2 buttons that can copy a file keeping it's name intact but changing the extension.
Essentially I want to be able to duplicate .psm1 files to .ps1 and visa versa.
So far I have Copy AS *.ps1 HERE
But this will create the file like : test.psm1.ps1
I've tried playing with the rename commands but these seem to bring up the GUI which I don't want .. i just want it to do the copy\rename silently.
Any help appreciated
Thanks
Damian
Awesome ! thanks Leo
Works a treat, creates a new file in the same location as wanted, thanks for the info on doing it with all files.
But one at a time is all I need for now
Cheers
Damian