Hmmm....After some testing, it seems the easiest way is to use the command
prompt:
dir /aa (for archive bit)
In Search, I tried various combinations of attribute:A, attribute:="A",
attributes:~"A" etc. with no luck. I then took a more general search (all
files in a specified folder) and then used the 'Attributes' column header to
filter the view -- I used the 'R' attribute, since almost every file has the
Archive attribute set. I then saved the saved the Search & opened the saved
Search in Notepad (saved Searches are XML files). Amidst the other info,
here is the essential part:
<condition
type="leafCondition"
property="System.FileAttributes"
propertyType="uint32"
operator="eq"
value="17"><attributes/>
</condition>
So, if I want to search for files & folders with the read-only attribute
set, I need to type:
system.fileattributes

17 OR 1)
NOT VERY INTUITIVE, EHHH?!?!?!?
An internet search for 'system.fileattributes' yielded the following
reference for the numeric value of the various attributes:
http://msdn2.microsoft.com/en-us/lib...40(VS.85).aspx
So for occasional searching, I would use the command prompt or add the
attributes column & filter on that column. If you need to regularly
manipulate files based on attributes, you might want to check out
PowerShell:
http://www.microsoft.com/windowsserv...l/default.mspx
--
Good Luck,
Keith
Microsoft MVP [Windows Shell/User]
"Ray" <vortren-newsx@yaxhoo.com> wrote in message
news:Xns9A50DF46BA12Aamfmssb@207.46.248.16...
> When I use Vista's "advanced search" function, I can specify location,
> date, size, name, tags, and author. Is there any way to search by file
> attributes, e.g., to find all files with the archive bit set?
>
> --
> Ray
> (remove the Xs to reply)