Many times we require a need to hide certain files from a random user.
Mostly maybe it’s of professional importance or to avoid from younger’s who by mistake can corrupt that. There can be many reasons but a simple solution to that is a single line code on command prompt.
Other than normal hidden files, windows file system provides another attribute for files that makes them super hidden so that they aren’t visible form explorer or with normal dir command. Use the below listed commands:
To super hide a file:
attrib +s +h pathtofile 



To remove super hidden attribute from file:
attrib -s -h pathtofile 



 You can also use this command to show hidden files in USB drives, simply use
attrib -s -h *.* c command.
In this way you can have your stuff in private.

0 comments:

Post a Comment

 
Top