How to hide a Folder in Windows

Everybody knows the normal folder option to hide a folder…
But if you enable the folder option “show hidden folders” it will still show the folder.

If you go to the command line and enter
attrib +h +s +r foldername
it won’t show up.
Undoing it is done like this:
attrib -h -s -r foldername