Hide hidden directories in file browser.

I have a file browser and I want to know how I can prevent hidden directories from showing up within it. Right now it shows all directories. For Mac OS, I believe all I have to do is check to see if the directory starts with a period but what about the Windows OS? Mahalo in advance.

What file browser? Do you have an editor script that implements such a browser? The amount of information you’ve given is not that much…

I just assume you implement the filebrowser with .Net/Mono as a script in Unity. Well just take a look at this page about testing a directory if it’s a hidden directory: