Greetings , I'm trying to copy all files from a source and rename them numerically while keeping the extension.
copy E:\source* to "D:\destination" as NewName WHENEXISTS rename
This code does it but erases the extension (the extension can't be hardcoded so the button can target any filetype)
HELP!
Looking for (as a one liner):
NewName_01.ext
NewName_02.ext
NewName_03.ext