How to Hide / View Files or Folders of your PC/Laptop Using Command Prompt
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
Step 1:-Press windowkey+R: Run command dialog box appears.
Step 2:-Now type “cmd” and hit enter. A command prompt window displays.
Step 3:-Now type “attrib +s +h E:collegephotos” and hit enter.
Step 4:-The folder “collegephotos” will be hidden (Note: It cannot be viewed by any search options)
(To view this folder again Or unhide thisfolder again , use the same command but replace ‘+’ with ‘-‘ on both flags ‘s’ and ‘h’)