wrong custom columns with cm_switchLongNames
Moderators: white, Hacker, petermad, Stefan2
wrong custom columns with cm_switchLongNames
High,
suppose you have two files with following Names:
LongName File_Test.TXT with DOS-Name FILE_T~1.TXT and
LongName File_T~1.TXT with DOS-Name FILE_T~2.TXT
(This can easyly been created manually. But it happend to me by accident as well).
Now configure a custom colums view
starting with default:
Name Ext,
continuing with: dosname fullname.
and now use it and switch cm_switchLongNames.
you will see columns starting with:
file_t~1.txt and then
file_t~2.txt
but you will not be able to open the first file but get the second.one.
And in the column with DOS-Name and fullname is garbage, is it?
hopefully, Gerhard
suppose you have two files with following Names:
LongName File_Test.TXT with DOS-Name FILE_T~1.TXT and
LongName File_T~1.TXT with DOS-Name FILE_T~2.TXT
(This can easyly been created manually. But it happend to me by accident as well).
Now configure a custom colums view
starting with default:
Name Ext,
continuing with: dosname fullname.
and now use it and switch cm_switchLongNames.
you will see columns starting with:
file_t~1.txt and then
file_t~2.txt
but you will not be able to open the first file but get the second.one.
And in the column with DOS-Name and fullname is garbage, is it?
hopefully, Gerhard
I can not reproduce this - simply because I have not yet been able to create a file with the LongName: File_T~1.TXT and the DOS-Name: FILE_T~2.TXT
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
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
try this in command promptpetermad wrote:I can not reproduce this - simply because I have not yet been able to create a file with the LongName: File_T~1.TXT and the DOS-Name: FILE_T~2.TXT
Code: Select all
fsutil file setshortname "File_T~1.TXT" "File_T~2.TXT"
TC for Linux please!
OK - that works (on a NTFS partition), but then comes my next problem: if I try to run:fsutil file setshortname "File_T~1.TXT" "File_T~2.TXT"
Code: Select all
fsutil file setshortname "File_Test.TXT" "File_T~1.TXT"
(translated from Danish)A file that already exists can not be created
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
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
Re: wrong custom columns with cm_switchLongNames
Not confirmed on Win2003 Standard Edition, TC 6.53. Files are accessed correctly, no garbage in columnsgwwurth wrote:...
and now use it and switch cm_switchLongNames.
you will see columns starting with:
file_t~1.txt and then
file_t~2.txt
but you will not be able to open the first file but get the second.one.
And in the column with DOS-Name and fullname is garbage, is it?
hopefully, Gerhard
I confirmed: takes place only on Novell-drives.
on local drives it seems not to happen.
Yet it is happening:
copy file with longname file_Test.TXT to local drive results in
file_T~1.TXT als DOS-name
then copy file with longname "file_T~1.TXT" to local drive will rename the DOS-name of the previous File to *~2.TXT and occupies the *~1.TXT then.
On Novell-drives you do not need any utility to force DOS-names.
Just copy first file as above to Novell-drive and so on.
The second file get's DOS-name *~2.TXT not *~1.TXT after manipulating DOS-name of previously copied file.
on local drives it seems not to happen.
Yet it is happening:
copy file with longname file_Test.TXT to local drive results in
file_T~1.TXT als DOS-name
then copy file with longname "file_T~1.TXT" to local drive will rename the DOS-name of the previous File to *~2.TXT and occupies the *~1.TXT then.
On Novell-drives you do not need any utility to force DOS-names.
Just copy first file as above to Novell-drive and so on.
The second file get's DOS-name *~2.TXT not *~1.TXT after manipulating DOS-name of previously copied file.