How To Hide Or Unhide Files, Folders, Secret Data By Using Command Prompt (CMD) | Best Trick For Hiding Files And Folder

How To Hide Or Unhide Files, Folders, Secret Data By Using Command Prompt (CMD) | Best Trick For Hiding Files And Folder


Are you looking for interesting trick for hiding your files or folders from other users then you are at right place, Here is the best PC Trick to hide files, folders or secret data by using Command Prompt(CMD).

The most important and interested thing is that, once hidden your files/folder 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 document files and folders is very important now a days 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 "officedocuments" and this folder is stored in (Disk Drive D). You think that it should not be seen by other users/strangers who use your PC. For that you need to follow the following instructions given below.

 Take A Look On Steps For Hide The File/Folder : ↓

  1. Press windowkey+R: Run command dialog box appears.
  2. Now type "cmd" and hit enter. A command prompt window displays.
  3. Now type "attrib +s +h D:\officedocuments" and hit enter.
  4. The folder "officedocuments" will be hidden (Note: It can only viewed by unhiding from CMD)

    (To view this folder again, use the same command but replace '+' with '-' on both flags 's' and 'h')