Wednesday, October 5, 2011

Hide your files and folders using Command Prompt

You may wonder, while “Tools->Folder Options->Do not show hidden files and folders” option is well enough to hide files and folders, why should we opt Cmd method which will be quite tricky to do the same operation. Try this out and you will feel the difference. Comment on this post in case you find the advantage of using Command Prompt for this operation.

 Follow the steps to hide files and folders using Command Prompt:
  1.  Run Command Prompt.
  2.  Go to the location where the file to be hidden resides, using the command ‘cd destination’.
  3. Then use: ‘attrib +s +h  file_name.extention’ to hide the corresponding file. 
  4. Your file is now hidden. 
  5. Try to know the advantage of using cmd. 
  6. To unhide the same file, use: ‘attrib -s -h file_name.extention’.

No comments:

Post a Comment