Change the copied file name template in Windows 10

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".Windows 10 default copy name template

To customize this behavior, you need to do the following:

  1. Open Registry Editor.
  2. Go to the following path:
    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\NamingTemplates

    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.

  3. 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:

    %s

    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

    %s (duplicate)

    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.

That's it.

Support us

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!

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

7 thoughts on “Change the copied file name template in Windows 10”

  1. Many of these tricks are not new nor exclusive to Windows 10, so if I can make a suggestion: remove the “10” from article titles (or make it “7, 8.1, 10”) to make it more clear. I know you included it at the very end in the article, but everyone looks at the title first and might miss it. Also, all these “10” articles create the wrong impression that you recommend or advertise Windows 10 or that it has more options (which is not true).

  2. For some reasons when I tried to make a 3rd copy from the (2)nd copy the name of the new file seems to behave weirdly. Anyone knows how to solve this?

  3. So it automatically add the space between “name” and “(1)” for instance “FileName (1)”. I’d love to remove the space to have “FileName(1)”. Is it possible?

  4. wow. thank you.
    I used %s1. It will add 1 to every new copy then (2), (3)… (n) to new ones, but I use to make only one duplicate at a time.
    Btw, Windows should move the cursor to the end of the name but before the extension when pressing right arrow for the first time when renaming!
    I love this hacks.
    Regards.

Leave a Reply

Your email address will not be published.

Exit mobile version
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.