I found this on a Windows XP machine and as well as a Windows 7 machine. That is certain files in C drive (not anywhere else yet), are hidden, though their hidden attribute is false (or unchecked). Those files look pale like other hidden files when made visible (from folder options) and they get hidden when we set "do not show hidden files" in folder options.
Those files in my machine as I see are
config.sys in C:. Is there a way to identify such files, say from some script, registry or from programming environment? Basically I was trying to get the count of non-hidden files in a directory, and my application fails when it attempts to get count of files in C:. What happens is that the application counts those two files (since its attribute is not hidden), but from a visual standpoint, they are pale/hidden normally.
My point is not about
System Files which requires a special setting in folder options to be shown. Such files and folders do have hidden attribute
checked (though the checkbox in their case is readonly). They are in most ways similar to normal hidden files/folders. My question is about files that appear hidden but without hidden attribute. To see what is that, see your C drive for the files I mentioned if they happen to be there..