# How to Full Proof Hide a Folder Using Command | Visible Through Only Command | No Other Way to View!

**URL:** <https://onehack.st/t/how-to-full-proof-hide-a-folder-using-command-visible-through-only-command-no-other-way-to-view/66217>\
**Category:** Tutorials & Methods\
**Tags:** programming, tips-tricks\
**Created:** [January 18, 2020, 3:00am UTC](https://onehack.st/t/how-to-full-proof-hide-a-folder-using-command-visible-through-only-command-no-other-way-to-view/66217 "2020-01-18T03:00:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheJoker](https://onehack.st/user_avatar/onehack.st/thejoker/32/22660_2.png) [@TheJoker](https://onehack.st/u/TheJoker)\
**Post date:** [January 18, 2020, 3:00am UTC](https://onehack.st/t/how-to-full-proof-hide-a-folder-using-command-visible-through-only-command-no-other-way-to-view/66217/1 "2020-01-18T03:00:30Z")

</div>

_ **Want to hide a folder** _ _?_

## It is SO GOOD that even if the computer formats(usually C drive), your folder is still **hidden**?

_Its not tough as it looks like. By following these simple steps, you can do it too -_

[https://thumbs.gfycat.com/GleamingLiquidAustralianshelduck-size\_restricted.gif](https://thumbs.gfycat.com/GleamingLiquidAustralianshelduck-size_restricted.gif)

- Press **Windows Key + X** and open the **Command prompt**.

 ![image](https://onehack.st/uploads/default/original/3X/7/1/71967610fba1c3d7cce623cc9faee3ea13e276cc.png)

- (For instance, I’m gonna hide this “Songs” folder located in the “ **E** ” drive of my computer, just to show people how its done.)

 ![image](https://onehack.st/uploads/default/original/3X/3/0/302849d41c9763887beffa1b0941be85e5aa3fa9.png)

- Type **attrib +s +h** “your folder location”. Press **Enter.** _(Your folder is now hidden)._

 ![image](https://onehack.st/uploads/default/original/3X/7/3/737c79971398ed131d8a799ea24275a5bdf3a5f8.png)

## Now, even if you choose to show the “Hidden items” on your computer. It won’t show.

 ![image](https://onehack.st/uploads/default/original/3X/3/d/3dd376a639c721dac476f3f502e484973f55daf9.png)

- Now, to disclose the same, just replace “ **+** ” with “ **-** ” in the same command.

**attrib -s -h** “your folder location” and press **Enter.**

 ![image](https://onehack.st/uploads/default/original/3X/9/5/95710243fdc53570e49acb0b4a18b9b62a7f3ee1.png)

- The folder is visible now. _This process won’t affect any of the files inside the folder._

 ![image](https://onehack.st/uploads/default/original/3X/c/9/c9758bee8d5912fd538881fc050ecb7b4a82f0d1.png)

_ **Simple no?** _

_ **You can keep your precious files inside the folder you don’t want others to see and hide it using these steps. And if you have any doubt regarding this, you are most welcome to comment.** _

_Thank you._

> **Bonus** : For those who(like me) are wondering that its not safe and people who know this trick might open the folder and their privacy is in danger-
> 
> Just use the folder name like a password,you can rename the folder whatsoever you want to but … **JUST DON’T FORGET THE NAME OF THE FOLDER YOU’VE HIDDEN**. So now, even if someone knows this trick,they might not be able to open your folder. 😃

---

<div class="post-metadata">

**Author:** ![Ravi\_Pujara](https://onehack.st/user_avatar/onehack.st/ravi_pujara/32/19783_2.png) [@Ravi\_Pujara](https://onehack.st/u/Ravi_Pujara)\
**Post date:** [January 18, 2020, 6:30am UTC](https://onehack.st/t/how-to-full-proof-hide-a-folder-using-command-visible-through-only-command-no-other-way-to-view/66217/2 "2020-01-18T06:30:40Z")

</div>

Hi @TheJoker,

Thanks for the info.

If you disable this feature → “Hide protected operating system files (Recommended)” then it does show the folder.

Thanks

---

<div class="post-metadata">

**Author:** ![Abrham\_Bitew](https://onehack.st/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@Abrham\_Bitew](https://onehack.st/u/Abrham_Bitew)\
**Post date:** [February 1, 2020, 6:28am UTC](https://onehack.st/t/how-to-full-proof-hide-a-folder-using-command-visible-through-only-command-no-other-way-to-view/66217/3 "2020-02-01T06:28:15Z")

</div>

it is not hard to unhide file without knowing file name,

install git  
and run **ls** or **ls -a**

---

<div class="post-metadata">

**Author:** ![coolfuze](https://onehack.st/user_avatar/onehack.st/coolfuze/32/31605_2.png) [@coolfuze](https://onehack.st/u/coolfuze)\
**Post date:** [February 1, 2020, 8:20am UTC](https://onehack.st/t/how-to-full-proof-hide-a-folder-using-command-visible-through-only-command-no-other-way-to-view/66217/4 "2020-02-01T08:20:35Z")

</div>

This is alright, but the +s tag would make it a system folder I imagine and the +h tag would make it just a hidden folder, so you can still see the folder if you have enabled show hidden folders and show protected operating system files or something along those lines. If you really want to stop people snooping into a folder I recommend something like VeraCrypt which is free.

> **[VeraCrypt - Free Open source disk encryption with strong security for the...](https://veracrypt.io/en/Home.html)**
>
> VeraCrypt is free open-source disk encryption software for Windows, Mac OS X and Linux. In case an attacker forces you to reveal the password, VeraCrypt provides plausible deniability. In contrast to file encryption, data encryption performed by...
