Bug: Dateien mit 2 oder mehreren Punkten

German support forum

Moderators: Hacker, Stefan2, white

Post Reply
User avatar
Tahattmeruh
Senior Member
Senior Member
Posts: 244
Joined: 2003-05-16, 13:35 UTC

Bug: Dateien mit 2 oder mehreren Punkten

Post by *Tahattmeruh »

Kleiner Bugreport welcher wahrscheinlich nicht gefixt wird.

Bisher konnte ich alle Dateien mit TC kopieren, löschen oder erstellen.
Sobald ein Dateiname aber nur aus Punkten besteht, kann der TC damit nichts mehr anfangen.
Also wenn die Datei z.B.
".." oder "..." usw heißt.
Erstellt werden kann so eine Datei per Eingabeaufforderung
z.B. unter C:\Temp
echo Test>\\?\C:\Temp\...
erstellt eine Datei mit 2 Punkten
echo Test>\\?\C:\Temp\....
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1050
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

Diese Dateinamen werden weder von Windows noch Linux unterstützt, obwohl man sie wohl technisch erzwingen kann.

Aus Naming Files, Paths, and Namespaces:

- Use a period as a directory component in a path to represent the current directory, for example ".\temp.txt". For more information, see Paths.
- Use two consecutive periods (..) as a directory component in a path to represent the parent of the current directory, for example "..\temp.txt". For more information, see Paths.
- Do not end a file or directory name with a space or a period. Although the underlying file system may support such names, the Windows shell and user interface does not. However, it is acceptable to specify a period as the first character of a name. For example, ".temp".
Post Reply