Hide files using System Attribute
System Attribute is the very un-common and also important attribute used in windows.
System attribute is used to hide system files. Adding System attribute always adds Hidden attribute. But user can't view them even when Hidden files are shown..
Windows sets System attribute to files, which are very critical such as hibernation file, page file ,ntldr, boot.ini and driver files....
We recommend you to keep files which system attribute already set, untouched.
However, you can view system files.
In Windows Explorer,
- Click Tools.
- Folder Options.( No folder options ? go here)
- General tab.
- Clear check box - Hide protected operating system files. (confirm it)
-
OK.
To hide them again, add a tick to the check box.
Windows doesn't allow users to add or remove System attribute.
You must use command prompt for this
To hide or view a file, by setting System attribute,
- Open Run (start- run) (Run has disabled ? go here)
- Type "cmd"
- OK.
Now you need to point Command prompt to where your file that you need to hide by adding attribute.
The indicated path (path before ">" is where the current path) is shown.
- Type "cd\" to go root.
- Type "cd.." to go one-step back.
- Type "cd folder name" to go folder name folder.
Attrib is the command which DOS uses to set attributes.
"-" mean clearing attributes.
“+” means adding attributes.
S , A, R , A are used to indicate attributes System, archived, read only and hidden
you can use masks such as * and ? as wildcards.
Here are some examples.
- Attrib -s +r Texby.txt
This will clear System and add read only attributes to Texby.txt file.
- Attrib +s +a -r *.sys
This will add System ,Archived and clears read only to all files with System extension
Happy Hiding…!
- Login to post comments
