Hide Files or Folders Using Command Prompt
User Submitted. Thanks S.V.Vignesh Raaj (View Thread)
Trick to hide files and folders using Command Prompt
The most important thing is that, once hidden with this method, the files/folders cannot be viewed by any search options even if you click "Show All Hidden Files and Folders".
Hiding the most wanted files and folders is very important nowadays and it's really a tedious job too. In order to make this tedious job an easy one, i'm going to deliver you a the trick now.
For Example: You have a folder named "collegephotos" and this folder is stored in (Disk Drive E). You think that it should not be seen by strangers who use your PC.
For that you need to follow the following instructions
- Press windowkey+R: Run command dialog box appears.
- Now type "cmd" and hit enter. A command prompt window displays.
- Now type "attrib +s +h E:\collegephotos" and hit enter.
- The folder "collegephotos" will be hidden (Note: It cannot be viewed by any search options)
(To view this folder again, use the same command but replace '+' with '-' on both flags 's' and 'h')