open a command prompt window and type in "ATTRIB ['file path']\['file name'] -s -h"
For Example: "ATTRIB C:\USERS\ADMIN\DOWNLOADS\7z920-x64.msi -S -H" and press enter.
You can also use a wildcard (*)
For example: "ATTRIB C:\USERS\ADMIN\DOWNLOADS\FILE* -S -H" and this selects every file in that path that starts with "FILE".
replace "-" with a "+" to add the above attributes to a file.
For Example: "ATTRIB C:\USERS\ADMIN\DOWNLOADS\7z920-x64.msi -S -H" and press enter.
You can also use a wildcard (*)
For example: "ATTRIB C:\USERS\ADMIN\DOWNLOADS\FILE* -S -H" and this selects every file in that path that starts with "FILE".
replace "-" with a "+" to add the above attributes to a file.
Windows operating system offers four attributes for files and folders. They are:
- Read-only – r : These are readable, but cannot be changed
- System – s : For use by the operating system and not normally displayed in a directory listing
- Hidden – h : They are not displayed in a directory listing by default
- Archive – a : For backing up or copying files
No comments:
Post a Comment