With the Copy function being deprecated (and causing errors where still used), I have started redoing my huge project to replace copy with xcopy. After building an executable, I need to make several copies of it with a different name in the same directory. I can’t just rename the file because I still need to keep the original file. Unfortunately, xcopy does not allow the file to be renamed. filesets also do not allow files to be renamed.
The only thing I can do now is copy the file to a temporary location, rename that copy, and then move it back. I have to do this 21 times, so I am going from 21 copies to 63 procedures. All of this is in only one target. I have 18 target tabs I have to update.
Please bring a fixed copy function back or give me a way to make a copy and rename at the same time.