NotContentIndexed attribute: Bug when renaming file and folder

Please report only one bug per message!

Moderators: sheep, Hacker, Stefan2, white

Post Reply
liamZ
Junior Member
Junior Member
Posts: 23
Joined: 2014-12-28, 20:04 UTC

NotContentIndexed attribute: Bug when renaming file and folder

Post by *liamZ » 2019-06-05, 18:54 UTC

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.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37667
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: NotContentIndexed Bug when renaming file and folder

Post by *ghisler(Author) » 2019-06-06, 10:32 UTC

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...
Author of Total Commander
http://www.ghisler.com

liamZ
Junior Member
Junior Member
Posts: 23
Joined: 2014-12-28, 20:04 UTC

Re: NotContentIndexed Bug when renaming file and folder

Post by *liamZ » 2019-06-06, 12:28 UTC

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.

misvin
Junior Member
Junior Member
Posts: 72
Joined: 2010-08-14, 11:25 UTC

Re: NotContentIndexed Bug when renaming file and folder

Post by *misvin » 2019-06-10, 18:54 UTC

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)

User avatar
petermad
Power Member
Power Member
Posts: 8503
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: NotContentIndexed attribute: Bug when renaming file and folder

Post by *petermad » 2019-06-11, 08:52 UTC

If I select Right-Click => Properties => General Tab
Tha is because that is calling a Windows function - TC does not do this for you.
License #524 (1994)
Danish Total Commander Translator
TC 9.22a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

misvin
Junior Member
Junior Member
Posts: 72
Joined: 2010-08-14, 11:25 UTC

Re: NotContentIndexed attribute: Bug when renaming file and folder

Post by *misvin » 2019-06-11, 09:13 UTC

It proves that Total Commander has a bug when users rename files using Shift+F6 or Right-Click => Rename.

User avatar
Dalai
Power Member
Power Member
Posts: 6699
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: NotContentIndexed attribute: Bug when renaming file and folder

Post by *Dalai » 2019-06-11, 13:43 UTC

I can confirm the behavior, but I didn't check if SetArchiveBitOnRename changes anything about it.

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

Post Reply