Discussion Locked

How to change the file attribute?

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How can I change the file attribute of all the files within a folder including the sub folders? Thanks.

7 replies

by sparent

For example, to turn the Read Only attribute on all files in a given directory and its sub-directories, you would issue the following command from the prompt.

ATTRIB +R *.* /S

You can run ATTRIB /? to get the list of attributes you can change.

by jwilczyn

For Win2000
Go to the folder properties - there you can tik Attributes: Read-only and Hidden. Next go to Advanced, where you can change settings for: Archive and Index attributes, and for Compress or Encrypt attributes.
Next OK and apply, then youwill be ask - do you want to apply this for this folder only or for this folder subfolders and files.
I hope this helps.

by gmscne

Click on any file in the folder, then hit CTRL-A to highlight all of them. Go to File, Properties and change attributes. The changes will affect all of the files at once.

This discussion is closed to new replies.