Hardie82
Hardie82

Reputation: 880

How to set a directory as hidden one?

Today I am searching for an option to set a directory as an hidden one. Therefore I created a directory beginning with a dot like .bin. Onmac it seems to be successfull but on windows the folder will always been displayed even if the option "Show hidden directoruies" is deactivated. Is there any option to set the hdden flag?

Thanks in advance.

Upvotes: 2

Views: 71

Answers (1)

Fernando Garcia
Fernando Garcia

Reputation: 1969

You can't do the same for mac/linux and Windows. In windows you can execute this command:

attrib +h C:\path\to\bin\ /S

Upvotes: 2

Related Questions