Guide | How To Hide Files & Folders using CMD

The associated guide may contain user-generated or external content.

Shadow King

Level 1
Thread author
Jun 11, 2012
114
Hi friends! This trick will hide your private files and folders. Files will not be visible even if you search for it.
This trick is not similar to hiding files from folder options area which is not that secured compared to this.
This is kind of locker for you.
Only you can make it visible if you know the file name or folder name.
Just try it out.Only a two step process.


1) Press windowkey+R: Run command dialog box appears. or go to start and click run.

2) Now type "cmd" and hit enter. A command prompt window displays.
Now type attrib +s +h E:\myfolder and hit enter.
The folder "myfolder" will be hidden which cannot be viewed by any search options.

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

Freddyand5

New Member
Verified
Sep 18, 2013
33
Shadow King said:
Hi friends! This trick will hide your private files and folders. Files will not be visible even if you search for it.
This trick is not similar to hiding files from folder options area which is not that secured compared to this.
This is kind of locker for you.
Only you can make it visible if you know the file name or folder name.
Just try it out.Only a two step process.


1) Press windowkey+R: Run command dialog box appears. or go to start and click run.

2) Now type "cmd" and hit enter. A command prompt window displays.
Now type attrib +s +h E:\myfolder and hit enter.
The folder "myfolder" will be hidden which cannot be viewed by any search options.

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

that's (for me) a new unique way of hiding files and folders. Thanks for sharing
 

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top