- Home /
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.
Bunny83 has given you some help. Please note that you have asked a $$anonymous$$ono/.Net question and not a Unity one. Please try to keep your questions here about Unity.
Answer by Bunny83 · Jun 30, 2011 at 11:32 PM
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:
http://stackoverflow.com/questions/1288975/how-to-test-if-directory-is-hidden-in-c
Thank you this should help me out. I just have a javascript that implements a file browser.
Your answer
Follow this Question
Related Questions
About the file browser? 0 Answers
How can I have the user chose a filesave location for a c document? 0 Answers
file browser error 1 Answer
how to solve null reference on file browser script 1 Answer
File browser 0 Answers