Page 1 of 1
Additional attributes in Change Attributes dialog
Posted: 2013-12-23, 19:20 UTC
by MarcinW
In File -> Change Attributes dialog, TC handles many file attributes:
- some directly in "Change attributes" group,
- date/time can be changed below,
- and below is a "tc" plugin with many extended attributes - in conjunction with two previous options, it handles all the file attributes described in
SetFileAttributes function, like "compressed" or "encrypted" - but except:
a) FILE_ATTRIBUTE_NOT_CONTENT_INDEXED,
b) FILE_ATTRIBUTE_OFFLINE,
c) FILE_ATTRIBUTE_TEMPORARY.
So I'd like to ask to add these attributes to "tc" plugin. Especially FILE_ATTRIBUTE_NOT_CONTENT_INDEXED is useful, because it can exclude some files from indexing.
Regards
Posted: 2013-12-24, 13:50 UTC
by ghisler(Author)
FILE_ATTRIBUTE_TEMPORARY
This makes no sense, it's used for files which are created temporarily - Windows will delete files with this attribute when they are closed.
FILE_ATTRIBUTE_NOT_CONTENT_INDEXED
I didn't know this one, seems to be something new.
Posted: 2013-12-24, 14:00 UTC
by MVV
I didn't know this one, seems to be something new.
It should be quite old one if it is the attribute allowing indexing which may be set from advanced attributes dialog ('Other...' button on General tab of Properties window).
Posted: 2013-12-30, 10:19 UTC
by MarcinW
To be precise, FILE_ATTRIBUTE_TEMPORARY directs the operating system not to delete the file after close, but to cache file contents in memory when possible - because disk operations are slow and this is a temporary file that application is going to delete after close.
Having this attribute in TC could be useful in particular to clear this attribute when debugging problems with some applications - to enforce writing all data to file, to be able to view file contents.
Posted: 2013-12-30, 16:22 UTC
by MVV
MarcinW, it may be easilly done with custom WDX plugin.
Posted: 2013-12-31, 11:45 UTC
by MarcinW
You are of course right. I can use a custom plugin, I can also write a 5-lines program that will clear the file attribute. I can also launch some problematic application under the debugger and clear the attribute flag when creating a file. But using TC would be the most straightforward way, wouldn't it?

Posted: 2014-01-01, 08:46 UTC
by MVV
You know, 'compressed' and 'encrypted' attributes also can't be set directly via a checkbox in Attributes dialog, you need to use plugins section. And if we need to use plugins anyway, it doesn't matter which plugin to use: internal or custom one...
Posted: 2014-01-01, 15:04 UTC
by MarcinW
It's just a bit easier when I must do something on a third party machine and everything I must do is to download TC, without installing any additional plugins...
Posted: 2014-01-01, 16:28 UTC
by MVV
What will you do if third-party PC has no internet connection? Why not to use portable TC instead? All you need to do is put TC to your USB stick and tweak it ONCE.
Posted: 2014-01-01, 16:42 UTC
by MarcinW
I agree. I have of course TC on pendrive. I just sometimes haven't this pendrive by me in my private life and I must unexpectedly repair something.