When you copy a file in File Explorer using drag'n'drop or via copy-paste in the same folder, the copied file will get a new name like this: "Filename - Copy". In Windows 10, it is possible to customize the copied file name template and turn it into another desired string. Let's see how it can be done.
For example, I have a text file named "Winaero.txt" in my Documents folder. When I select this file in File Explorer and press Ctrl + C and then Ctrl + V, a copy of my file will be created and named as "Winaero - Copy.txt".
To customize this behavior, you need to do the following:
- Open Registry Editor.
- Go to the following path:
Tip: See how to jump to the desired Registry key with one click.
If you don't have the NamingTemplates subkey, then just create it.
- Create a string value named CopyNameTemplate. Set its value data as follows:
By default, the value of CopyNameTemplate is assumed to be
%s - Copy
So, if you set the CopyNameTemplate value data to:
then this will remove the " - Copy" part. The file copy will be named as Filename(1), Filename(2) and so on. I think this is a good modification.
You can also add some additional text before or after the "%s" part, so it will be used in the copied file name. For example, you can set CopyNameTemplate value data to
Duplicate of %s
The result will be as follows:
If you set CopyNameTemplate value data to
then you will get the following naming:
The changes will take effect immediately. You don't need to sign out from your user account or restart Windows 10.
This tweak should also work in Windows 7 and Windows 8.
To revert the changes you made, delete the mentioned CopyNameTemplate string value from the Registry.
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!