The attributes of a file or folder in Windows can be changed in three ways – from the Properties window, the Folder Options window, and the command prompt.
Using the Properties window
The Properties window allows users to change the basic file and folder attributes, such as name, type, size, date created, and other information. To modify the properties of a file or folder, right-click on the file or folder and select Properties from the context menu. The Properties window will open, displaying a set of tabs containing the attributes for the item.
For files:
1. Select the General tab to view and modify the basic file properties such as name, type, size, and date modified.
2. Select the Security tab to view and modify the user and group permissions for the file.
3. Select the Details tab to view and modify additional details such as author, title, subject, and comments.
For folders:
1. Select the General tab to view and modify the basic folder properties such as name, type, and size.
2. Select the Sharing tab to view and modify the share permissions for the folder.
3. Select the Customize tab to view and modify the icon and folder type.
4. Select the Security tab to view and modify the user and group permissions for the folder.
Using the Folder Options window
The Folder Options window allows users to change the display settings for files and folders, such as the default view, the hiding of specific file types, and the sorting order. To access the Folder Options window, select Start > Settings > Control Panel > Folder Options. The Folder Options window will open.
1. Select the View tab to view and modify the display settings for files and folders.
2. Select the File Types tab to view and modify the file types that are hidden from view.
3. Select the Offline Files tab to view and modify the offline files settings.
Using the Command Prompt
The command prompt can also be used to modify the attributes of a file or folder, though it is more complex than the other two methods. To access the command prompt, select Start > Run and type “cmd” into the dialog box. The command prompt window will open.
To set a file attribute, type the following command and press Enter: attrib
To set a folder attribute, type the following command and press Enter: attrib
It is important to note that these methods only allow users to modify the attributes of files and folders. They do not grant permission to change the contents of a file or folder.