Error copying with same name diretorys and files

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Sombra
Power Member
Power Member
Posts: 811
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

Error copying with same name diretorys and files

Post by *Sombra »

In root directory:

Case 1:

- Make a directory named "test" and save.
- Make a new txt file (shift+F4) named "test.txt"
- Copy to same panel (shift+F5) "test.txt" to "text" without extension

The file is copied to the directory "C:\test\", no in the same root directory with the new name.

Case 2:

- Make a text file named "test2" and save.
- Now, make a directory with the name "test2"

The directoy can't be created: Error: Directory [test2] not created!

Case 3

- Make a directory named "test3"
- Go to inside test3
- make a text file named text3 (without extension)
- Copy c:\test3\test3 to c:\

This warning appear: you cannot copy a file to itself!

In the text entry box if the target is changed to c:\ a different error appear: Error: Cannot write c:\test3! Please remove the write protection!

Tested with WinXP SP2 + TC 7pb2

P.S. Title edited
Last edited by Sombra on 2007-01-07, 21:12 UTC, edited 1 time in total.
I can read English, but... I write like Tarzan. (sorry)
User avatar
Sombra
Power Member
Power Member
Posts: 811
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

Post by *Sombra »

Case 4:
If an directory exist named hello, I can't make a txt file named hello (without extension)

Case 5:

If an directory exist named hello, I can't rename a file to hello (without extension)

:!: Ummh... it happen with explorer too, Now a I think that perhaps it is a limitation of windows :(
I can read English, but... I write like Tarzan. (sorry)
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Sombra wrote::!: Ummh... it happen with explorer too, Now a I think that perhaps it is a limitation of windows :(
Exactly!
True for all 5 cases. - It works as designed including those limits. - But those limits are older than Windows even. :)
And similar limits will be found inside Unix/Linux as well.

Karl
User avatar
petermad
Power Member
Power Member
Posts: 14810
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Sombra
In principle a directory is also a file - that's why you can't make a directory and a file with the same name.

As karlchen writes - it has been that since early DOS - if not even longer.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Hacker
Moderator
Moderator
Posts: 13068
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

[mod]Moved to TC7 beta discussion forum.

Hacker (Moderator)[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, Hacker.

Why did you move this thread to a TC7 beta forum? :?

The issue described by Sombra is not restricted to TC7.
Actually it is not even a TC issue at all.
It is a limitation built-in to DOS, Windows and Unix/Linux (and maybe other OS's I do not know.)

Karl
User avatar
Hacker
Moderator
Moderator
Posts: 13068
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

karlchen,
Well, because it was in TC7 beta bug reports. So I guess better it's here. The English forum might also have been nice, but I guess it's ok here as well.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Bug Forum was ok, I guess.

Essence:
There is no bug. Works as designed. Disgn limits not imposed by T.C. but by the underlying operating system(s).

Issue Status:
Closed.

Karl
Post Reply