Create a file "1ю1" (on Cyrillic) in an empty directory. I will save this file. There are two files in the directory:
Том в устройстве D имеет метку Hard_D
Серийный номер тома: 8462-2C02
Содержимое папки D:\TEMP
11.05.2022 15:43 <DIR> .
11.05.2022 15:43 0 1ю1
11.05.2022 15:43 0 1ю1.
2 файлов 0 байт
1 папок 399 605 121 024 байт свободно
This error has been going on since the old versions of the Total Commander.
Subject line adjusted by moderator from "Error creating file" to better reflecting the content
Error creating file on Cyrillic: results in two files, one with trailing dot
Moderators: Hacker, petermad, Stefan2, white
Re: Error creating file on Cyrillic: results in two files, one with trailing dot
Cannot confirm here. Only the file I created appears, no second "dotted" one.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
Re: Error creating file on Cyrillic: results in two files, one with trailing dot
Use editor on F4:Flint wrote: 2022-05-11, 13:18 UTC Cannot confirm here. Only the file I created appears, no second "dotted" one.
"C:\Program Files\Far Manager\Far.exe" /e "%1"
Надо создавать файл именно 1ю1 или 2ю2 и т.д. Потом нажать F2 в Far. И получится два таких файла:
Содержимое папки C:\TEMP
11.05.2022 17:45 <DIR> .
11.05.2022 17:45 0 2ю2
11.05.2022 17:45 0 2ю2.
2 файлов 0 байт
1 папок 93 039 173 632 байт свободно
Re: Error creating file on Cyrillic: results in two files, one with trailing dot
When the filename doesn't have a filename extension, TC adds a dot at the end, probably to prevent that editors add a default filename extension (like .txt). Apparently Far.exe /e cannot handle this.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Error creating file on Cyrillic: results in two files, one with trailing dot
Yes, TC adds a dot at the end because otherwise notepad.exe will try to open filename.txt instead of filename when I just pass c:\path\filename to it.
You cannot create files with a dot at the end with normal Windows function calls, you have to use a very specific syntax to bypass the file system checks, which Far must be doing. I'm sorry but i don't think that there is a solution which works with both Far and Notepad.
You cannot create files with a dot at the end with normal Windows function calls, you have to use a very specific syntax to bypass the file system checks, which Far must be doing. I'm sorry but i don't think that there is a solution which works with both Far and Notepad.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com