NotContentIndexed attribute: Bug when renaming file and folder
Moderators: Hacker, petermad, Stefan2, white
NotContentIndexed attribute: Bug when renaming file and folder
I found this behaviour on Windows 10 and 7 with Total Commander 9.22a:
Changing the name of a file or a folder with the NotContentIndexed attribute enabled within TotalCommander removes the NotContentIndexed attribute.
Changing the name with windows explorer does not reset the attribute.
Changing the name of a file or a folder with the NotContentIndexed attribute enabled within TotalCommander removes the NotContentIndexed attribute.
Changing the name with windows explorer does not reset the attribute.
- ghisler(Author)
- Site Admin
- Posts: 50463
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: NotContentIndexed Bug when renaming file and folder
This probably happens because TC sets the "archive" attribute when renaming. Try setting
SetArchiveBitOnRename=0
in wincmd.ini under [Configuration].
Strangely, other attributes like "compressed" don't seem to be affected...
SetArchiveBitOnRename=0
in wincmd.ini under [Configuration].
Strangely, other attributes like "compressed" don't seem to be affected...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: NotContentIndexed Bug when renaming file and folder
Hi. I tried SetArchiveBitOnRename=0 but does not work for me.
I also noticed that moving a file/folder to a new folder (that has NotContentIndexed=1) in the same drive also resets the index attribute. But moving to another drive works fine.
I also noticed that moving a file/folder to a new folder (that has NotContentIndexed=1) in the same drive also resets the index attribute. But moving to another drive works fine.
Re: NotContentIndexed Bug when renaming file and folder
The problem exists only if I rename a file using Shift+F6 or Right-Click => Rename.
If I select Right-Click => Properties => General Tab and change the filename in text box, then NonContentIndex checkbox (in Advanced Attributes) is left empty.
TC 9.22a, Windows 8.1 (32-bit)
If I select Right-Click => Properties => General Tab and change the filename in text box, then NonContentIndex checkbox (in Advanced Attributes) is left empty.
TC 9.22a, Windows 8.1 (32-bit)
Re: NotContentIndexed attribute: Bug when renaming file and folder
Tha is because that is calling a Windows function - TC does not do this for you.If I select Right-Click => Properties => General Tab
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: NotContentIndexed attribute: Bug when renaming file and folder
It proves that Total Commander has a bug when users rename files using Shift+F6 or Right-Click => Rename.
Re: NotContentIndexed attribute: Bug when renaming file and folder
I can confirm the behavior, but I didn't check if SetArchiveBitOnRename changes anything about it.
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: NotContentIndexed attribute: Bug when renaming file and folder
I can confirm this fix. Tested renaming the file with of NotContentIndexed attribute with Shift+F6 and MultiRenameTool in Total Commander 9.50 beta 5 on Vista 32-bit, the attribute is not lost in both cases.history950.txt wrote:20.06.19 Fixed: Preserve attribute "not content indexed" (Can be set via Properties - Advanced) when renaming files (32/64)
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708