How To Change The Attribute of A Superhidden File

Before starting any thing I would like to introduce the super-hidden attribute of a folder/file. It is other wise known as system attribute. This means you can not view these files/folders in normal mode even if you enable the option to view hidden files/folders.

Folder Option

Un-Hiding Protected Files

You can view these files/folders by un-checking the box “hide protected operating system files” which is not recommended by Microsoft and then selecting the radio button against “show hidden files and folders” as shown in the figure left side. You can find these options by following the path My computer -> go to any drive let c:\ -> Tools -> Folder Option


1. Protect Your Private Folder/Files

Make your own folder with protected/system/super-hidden attribute and keep your files securely from un-wanted visitors.

You can do this by following steps.

  • Create New Folder with desired name e.g “praty”.
  • Go to command prompt.
  • Then type ( I have assumed that the folder “praty” is created in D:\) “attrib +s +h D:\praty
  • That’s all. Your secret folder with super-hidden attributes is created. Keep your secret files and folders within it.

2. Security From Virus Attack

You can secure your computer from pen-drive virus by properly applying this concept.

  • Whenever you insert your pen-drive into your computer/laptop don’t access it right that time.
  • First Go to command prompt and navigate to your pen-drive.
  • Type “dir /a” without double quotes. It will show you all the files and folders present in that directory i.e your pen-drive root directory. If your pen-drive is infected with any type of virus most probably you will find a file named “autorun.inf” in the root directory of your pen-drive. So when you typed and hit enter  you will find a file named “autorun.inf” in the list of files and folder.
  • Then type autorun.inf and hit enter. It will open the file in notepad. It is the script to execute/inject the virus into your computer. If you find any suspicious commands or unknown file names like “open=myfolder/myfile.exe” then most probably these are virus locations. The open command above is nothing but actually present in the autorun file located in my virus infected pen-drive. In the above command “myfolder” was the super-hidden folder which contained the virus file “myfile.exe”
  • If you want to disinfect your pen-drive manually then  delete the “autorun.inf” in command mode or replace with a fake file named “autorun.inf”. Then delete the virus file. One point to be marked here is I have told to first deal with the autorun.inf file then the virus file. It is because if things go wrong by any means then some problem may arise. So first we will cut the link to the virus file and the “autorun.inf” file is nothing but the link.

15 thoughts on “How To Change The Attribute of A Superhidden File

  1. sick submitter

    There may be evidently a lot for me to learn outside of my books. Thanks for the great read,Nice post. Thanks. You may have introduced some clarity to something I’ve been making an attempt to figure out.

  2. sony camcorders

    Hello ? very good site you have created. I enjoyed scanning this posting. Used to do want to create the remark to tell you just how the design of the website is very aesthetically pleasing. I had been the artist, right now I am a copy publisher. I have usually enjoyed working with computers as well as ‘m learning code during my spare time.

  3. Ankuran

    For unhiding folders or removing the shortcuts….

    If pendrive is in G drive then go to command prompt and type

    attrib -h -r -s /s /d G:\*.*

    Guranteed that problem will be solved…. for XP versions only…(Vista or WIN7 is not asssured)

  4. Ardhel Pagurayan

    actually on removing virus from usb drives, it’s much easier to have windows explorer do it for reasons that you have a more clear visual way of viewing files that are on your drives.. the steps in my folders options is the first thing to do.. actually i do that through regedit but the folder options is the simpliest and easiest to perform.. just follow that.. and next,, instead of using the command prompt to view malicious files on any drives (including hard disks and any) we can use the windows explorer (like my computer, my documents). the caution to be taken seriously is that for example in my computer windows explorer, don’tt directly open (double clicking) the drive because its an event that usually triggers the autorun.inf file inside our drives. so instead, open the drive through folders view. on My COmputer window click View on Menu Bar, select Explorer, Select Folders. Now on Folders Explorer pane on the left side of the window, open the drive BY SINGLE CLICK.

    Now you are able to view and see all the files including the superhiddens (most also of viruses are superhidden) and you can act now as the ultimate anti-virus. single right click them and select delete.. You must avoid running them by double clicking. Doing so (double clicking) will render all these steps useless so be careful. If you find difficult to successfully perform these steps probably you have a virus(es) already running and taking control of your system.. in this case you can email me at i’ll send you steps regarding this infection removal. Cheers.. me from PH


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.