Important! In Cases 1, 2, 3 the dir 'C:\Temp\test.txt\' must contain only 1 file, 'test.txt'.
Case 1. Try with default settings in copy dialog:
Code: Select all
---------------------------
WARNING!
---------------------------
A directory
C:\Temp\test.txt
already exist.
Do you want to coopy the file/dir to this subdirectory?
---------------------------
[ Yes ] [ No ]
---------------------------
Code: Select all
---------------------------
Total Commander
---------------------------
You cannot copy a file to itself!
---------------------------
ОК
---------------------------
In my opinion, after that TC have to ask user if he want to rename the copied file (see Case 4 behavior) .
Case 2. With "Auto-rename copied":
the file test(2).txt dir created in source (c:\Temp\test.txt\), not targed .
Case 3. With "Auto-rename target files".
Like in Case 1, after dialog
Code: Select all
---------------------------
Total Commander
---------------------------
You cannot copy a file to itself!
---------------------------
ОК
---------------------------
Case 4. Add some other files to C:\Temp\test.txt\
If amount of files is copying with test.txt file,
on a moment when test.txt is copying, a dialog appears:
Code: Select all
---------------------------
Total Commander
---------------------------
Access denied on file
C:\Temp\test.txt!
---------------------------
[Skip] [Retry][Abort][Rename]
[As Administrator][All as Administrator]
---------------------------
If user will select [As Administrator] or [All as Administrator], TC will allow user to skip a file-with-the-same-name, or to cancel the entire copying operation.
This behaviour is independent from Autorename options from F5 copy dialog.
Case 5. Interestingly, if source file name will be "Program files" and targert dir is C:\, TC will show to a user another dialog without [Rename] button:
Code: Select all
---------------------------
Total Commander
---------------------------
The file C:\Program files
is READ ONLY!
Do you want to overwrite it anyway?
---------------------------
[Overwrite] [All] [Skip] [Cancel]
---------------------------
--
TC 7.56a, Windows 7 SP1 64 bit