How to search/batch-change file attributes

B

BillW

I would like to search for files using file attributes as a search
parameter. I would also like to batch change them. Examples: (1) list all
the files with the Archive bit off ; (2) find all files with the bit off
and turn it on. Does anyone know of freeware that can do this or a function
within XP that can at least find the files? Thanks
 
A

Ayush

Replied to [BillW]s message :
I would like to search for files using file attributes as a search
parameter. I would also like to batch change them. Examples: (1) list all
the files with the Archive bit off ; (2) find all files with the bit off
and turn it on. Does anyone know of freeware that can do this or a function
within XP that can at least find the files? Thanks

You need dir /a and attrib .

For example :
dir /a:-a /b | attrib +a
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top