Pages

Thursday, August 22, 2013

How to Hide files and folders from Command Prompt

By default, Windows provides Graphical facility to hide files. Simply you have to select the file you wanted to hide and go to property and check mark the Hidden option and Done.

But there is a falls in this technique and if someone know little bit about computer might open your hidden files and folders by selecting the option "Show hidden files, folders and drive" from the folder option dialog.

But here i will show you the trick that wan't show your data though you selected above option from folder option dialog box.

Follow the Step:

Step 1 : Open the Run dialog by pressing the Window button + R and then write cmd.


Step 2 : After opening the command prompt go to the location of the file or folder you want to hide.


Step 3 : Write the following command.
             attrib +h +s "Hide"



Step 4 : It's Done. Now your folder Hide want be shown even you select the show hidden files,folder option.
             To hide file same procedure.



Step 5 : To unhide your file simple replace "-" with "+".



Now you can hide any file and folder you want.

No comments:

Post a Comment