Link to home
Start Free TrialLog in
Avatar of reggieperrin
reggieperrin

asked on

How do I 'Make a Duplicate of a File' where default name is 'Filename Copy', not 'Copy of Filename' ?

I have a question about Make a Duplicate of a File:
Way back in my Mac days, when I would copy and paste a file in the same folder, the original would be "filename" and the new file would be "filename copy". In Windows, it's always "copy of filename", which doesn't let a sort by name keep these files adjacent. Can I change the default name of copies, so the destination file will sort alphabetically next to the source file?

Avatar of Merete
Merete
Flag of Australia image

yep cant see why not, what I do is simply rename it add a number or A1 A2 this way the store in alphetbetical order
or put them in individual folders with the same concept
Merete
Avatar of reggieperrin
reggieperrin

ASKER

I don't understand what you are suggesting. To clarify my question, I am hoping that there is a way I can somehow change my Windows configuration so that every time I duplicate a file in the same folder (by pressing Ctrl+C then Ctrl+V) that
instead of the Windows default of changing source file
"x.yyy"
to
"Copy of x.yyy"

it would instead yield a file called something like
"x.yyy Copy"
or
"x Copy.yyy"

or anything where the file name starts with x.
Took a while to find. First tried changing defaults in XP...no find.
Then found: http://www.shelltoysxp.com/duplicatefile.asp     ShellToys XP > Shell Extensions > Duplicate File
But finally: http://www.rjhsoftware.com/rjhextensions/     RjH Software - rjhExtensions

rjhExtensions adds some new shell extensions, including: Duplicate Files(s)

To use: Right click a file, hit Duplicate File(s)
         
Filename.txt     --> Filename(1).txt
Filename(2).txt --> Filename(2).txt
etc.

Note: if you don't want all the extensions that rjh adds, you can remove them using the "rjhextensions Organizer" that comes with the install, though  http://www.nirsoft.net/utils/shexview.html has a general-purpose Shell Extension Manager.

: )
Sorry I don't reckon you can change the "copy of" default
ASKER CERTIFIED SOLUTION
Avatar of callrs
callrs

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Some windows defaults like this one, you can change by manually editing the registry, but that is not a task for the average user, and you will create a non-standard setup that is difficult to recreate/duplicate.

Why not simply run a batch file --

copy C:\dir\filename.* C:\dir\1filename.*

There are oodles of great things you can do with batch files, rename, concactenate, etc, you just need to look into batch file copy commands a little to construct the files you need to do the task.
Running a batch file every time I want to duplicate a file is more trouble than the current situation. However, your suggestion that there is a place in the registry to manually edit this phrase is appealling. If such a registry entry exists, I would be very comfortable with making such a change as well as living with the non-standard setup. Otherwise, the rjhextensions solution is the most appealing so far.
>>If such a registry entry exists
I had searched but did not find...
It may be either hard-coded into a windows exe file, or it may be obfuscated in the registry.

It's not hard to write a custom program to do this simple task. And programming can be quite exhilarating :)
Look up the popular "Python" programming language...