Copy, file and dir with same name
Moderators: Hacker, petermad, Stefan2, white
Copy, file and dir with same name
Russian forum:
Copy file F to folder C:\A where folder C:\A\F already exists.
TC copies F to C:\A\F\F.
Expected: TC doesn't copy F and show error (since the folder C:\A\F already exists).
TC 7.02
Copy file F to folder C:\A where folder C:\A\F already exists.
TC copies F to C:\A\F\F.
Expected: TC doesn't copy F and show error (since the folder C:\A\F already exists).
TC 7.02
Confirmed.TC copies F to C:\A\F\F.
Agree.Expected: TC doesn't copy F and show error
A little more correct error message could be needed.have you seen what explorer does
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This is intentional. I added a warning when you rename a file, maybe i should add one too when copying?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Good idea - and also one when moving files!maybe i should add one too when copying
A message box saying something like:
"A directory with the same name as the file: xxx already exists - do yo want to copy (move) the file to that directory ?"
[Yes] [No] [Always] [Cancel]
would be a good idea IMHO.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Sorry, I disagree here.petermad wrote:Expected: TC doesn't copy F and show error
Agree.
If I enter "copy/move G C:\A\F" (or use F5/F6 for this) I expect that the file gets copied into that folder.
The same should IMO apply to "copy/move F C:\A\F" (F5/F6).
ghisler(Author) wrote:I added a warning when you rename a file, maybe i should add one too when copying?
Yes, that would be a nice (and consistent) solution to satisfy all, IMO.petermad wrote:and also one when moving files!
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
But that's not the issue - the issue is that when you copy/move F to C:\A it gets copied to C:\A\F - in that way it gets copied but it is out of your sight, because it is one directory below the current in the target panel.The same should IMO apply to "copy/move F C:\A\F"
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
2petermad
If you copy/move only 1 file (file "F" from the source panel) and C:\A is the active path on the target panel,
then the suggested target name is "C:\A\F" -
an existing folder name, so the file gets in there ("copy/move F C:\A\F").
If you copy/move multiple files, the effect does not occur,
because the target name is suggested as "C:\A" -
an error message is displayed (as expected) in this case, the file "F" is not copied.
StatusQuo wrote:The same should IMO apply to "copy/move F C:\A\F"
Well, indirectly it is (I admit, I didn't explain this clearly enough):But that's not the issue
If you copy/move only 1 file (file "F" from the source panel) and C:\A is the active path on the target panel,
then the suggested target name is "C:\A\F" -
an existing folder name, so the file gets in there ("copy/move F C:\A\F").
If you copy/move multiple files, the effect does not occur,
because the target name is suggested as "C:\A" -
an error message is displayed (as expected) in this case, the file "F" is not copied.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
2StatusQuo
I still think that the behaviour when copying 1 file is inexpedient, because I must admit that I most often don't look at the suggested name when copying/moving files, because I already know the location of the target panel (the beauty of a two-panel file manager).
Aha, I see the difference now.If you copy/move multiple files, the effect does not occur,
I still think that the behaviour when copying 1 file is inexpedient, because I must admit that I most often don't look at the suggested name when copying/moving files, because I already know the location of the target panel (the beauty of a two-panel file manager).
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
2petermad
To not make it impossible to copy the file into C:\A\F on purpose,
the warning message should solve the problem (better than refusing the action).
I most often don't look at the suggested name
Yes, I agree to both.I still think that the behaviour when copying 1 file is inexpedient
To not make it impossible to copy the file into C:\A\F on purpose,
the warning message should solve the problem (better than refusing the action).
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!