Page 1 of 1

Error copying with same name diretorys and files

Posted: 2007-01-07, 17:43 UTC
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

Posted: 2007-01-07, 17:59 UTC
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 :(

Posted: 2007-01-07, 18:57 UTC
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

Posted: 2007-01-07, 19:22 UTC
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.

Posted: 2007-01-07, 20:36 UTC
by Hacker
[mod]Moved to TC7 beta discussion forum.

Hacker (Moderator)[/mod]

Posted: 2007-01-08, 12:45 UTC
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

Posted: 2007-01-08, 14:13 UTC
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

Posted: 2007-01-08, 15:22 UTC
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