mostym
asked on
VB Script to rename files then copy files to another folder
Hi,
I have a folder with a bunch of randomly generated files.
28282.SRP
RNE.000078.RNE
RNE.000073.RNE
RNE.000073.RNE
232191.CLB
I need a script that will rename all .RNE files to .RNE.MTR and copy them to another folder, overwriting them if they exist in the destination folder.
Thanks!
I have a folder with a bunch of randomly generated files.
28282.SRP
RNE.000078.RNE
RNE.000073.RNE
RNE.000073.RNE
232191.CLB
I need a script that will rename all .RNE files to .RNE.MTR and copy them to another folder, overwriting them if they exist in the destination folder.
Thanks!
ASKER
BlueDevilFan,
Can we rename the files first, then copy them to the desination folder?
Thanks! It's looking great.
Can we rename the files first, then copy them to the desination folder?
Thanks! It's looking great.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect! Thanks.
You're welcome. Glad I could help.
This should do it.
Open in new window