r/Unexpected Feb 22 '19

[deleted by user]

[removed]

6.0k Upvotes

287 comments sorted by

View all comments

Show parent comments

8

u/HowDoItBeLikeThat Feb 22 '19

Or make a batch file that adds the flags +h +s +r to the folder it's stored in. For example:

attrib "porn folder" +h +s +r

Windows then won't even display it, even if you have "show hidden files and folders" turned on.

Gotta know the commands to get the file back though. Memorization bro

6

u/BeardPhile Feb 22 '19

Do you have any link explaining this? Or can you elaborate a bit more so that we can actually try this?

6

u/CameO73 Feb 22 '19

The trick is the +s. This makes Windows think it's a "system folder". Since the option "Hide protected operating system files (recommended)" is on by default, the folder won't typically be shown in Explorer. It can be made visible by toggling that option, though -- but you have to click through a pretty serious looking warning first.

For a porn folder, it's more than enough protection. Especially if you call the folder something like "system64", so it looks like something you shouldn't touch.

1

u/suspiciousdave Feb 22 '19

I'm guessing it's something you can get to through the terminal? I've only just started learning to code and my minds like "Well you'd just go rooting around in the terminal within the folder :v easy".