Auto-rename when copying file to itself

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
OUrm7Vo2
Junior Member
Junior Member
Posts: 80
Joined: 2003-04-17, 18:50 UTC

Auto-rename when copying file to itself

Post by *OUrm7Vo2 »

When copying a file from the source to the destination folder and the file name exists in the destination folder, TC offers auto-renaming options. However, when the Source and destination folders are the same, TC doesn't offer auto-renaming options?

In Windows Explorer, when copying a file to the same folder it renames it automatically!

Can't TC do the same?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7022
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

This option already exists in this case.
Under Options you can select "Auto-rename copied" under Overwrite options.
You can also set CopyOverwriteDefault=5 in wincmd.ini to make this the default when opening the options.
Last edited by Horst.Epp on 2016-02-14, 12:10 UTC, edited 1 time in total.
User avatar
Ovg
Power Member
Power Member
Posts: 755
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

TC can this. Choose 5th or 6th item in Overwrite option dialog

http://ge.tt/2ZRiR2Y2
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
OUrm7Vo2
Junior Member
Junior Member
Posts: 80
Joined: 2003-04-17, 18:50 UTC

Post by *OUrm7Vo2 »

The problem is that I don't get the overwrite options dialog.

Example - Shift+F5 on a file, click OK, TC says "You cannot copy a file to itself"

No overwrite options dialog is presented.

What to do?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7022
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

OUrm7Vo2 wrote:The problem is that I don't get the overwrite options dialog.

Example - Shift+F5 on a file, click OK, TC says "You cannot copy a file to itself"

No overwrite options dialog is presented.

What to do?
Unfortunately the options are only available from the normal copy dialog.
So set the target side to the same as the source and use F5.
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

Guys,
I think you are missing the point.

When you have the same location selected in both panels and you try to copy some files, there is no way to get a prompt to rename a file. The copy operation either fails or, if you configure it, auto-renames everything. The ability to decide on file-by-file basis is missing.

Though, I'm not sure what use case would that serve. Ctrl+C/V seems faster to me.
Windows 10 Pro x64, Windows 11 Pro x64
User avatar
Ovg
Power Member
Power Member
Posts: 755
Joined: 2014-01-06, 16:26 UTC

Re: Auto-rename when copying file to itself

Post by *Ovg »

2Umbra
OUrm7Vo2 wrote:... TC doesn't offer auto-renaming options?
TS asks about auto-rename, F5 works like a charm.

BTW - Ctrl+C/V seems faster to me too :D
Last edited by Ovg on 2016-02-14, 15:27 UTC, edited 1 time in total.
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7022
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

umbra wrote:Guys,
I think you are missing the point.

When you have the same location selected in both panels and you try to copy some files, there is no way to get a prompt to rename a file. The copy operation either fails or, if you configure it, auto-renames everything. The ability to decide on file-by-file basis is missing.

Though, I'm not sure what use case would that serve. Ctrl+C/V seems faster to me.
If you set the copy option for overwrite to "Ask user" it gives you a lot of options if there is conflict. One of this is named "More Options >>"
and there you find what you need !
This way allows you to decide on a file-by-file as requested.
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

2Ovg
2Horst.Epp

Please, try it. TC will not show you a file conflict window. Only an error "You cannot copy a file to itself". Option "Ask user" is ignored.

But this argument is moot. I still don't know why I would need such behavior (Ctrl+C/V is good enough for me). So I'm not going to argue for it anymore.
Windows 10 Pro x64, Windows 11 Pro x64
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I agree that Ctrl+C Ctrl+V is much faster than F5 with autorename... however I think that it is pretty easy to fix such TC behaviour by adding autorename option check (that comes from old times when there was no autorename).

As for me, usually I use Shift+F5 and type name of a copy manually (or Ctrl+C Ctrl+V when I just need to create a bunch of garbage files and names really don't matter).
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3381
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

2umbra
TC is a tool that expect the user to use its BRAIN when being used.
Thats why Shift+F5 DOESNT show the dialog because it expects user to KNOW what they are doing.
If they arent then TC isnt a tool for such a person.
Hoecker sie sind raus!
Post Reply