skip hidden files\folders

BlitzPlus Forums/BlitzPlus Programming/skip hidden files\folders

Timjo(Posted 2008) [#1]
When I read a directory with the READDIR & NEXTFILE commands it lists all files\folders in the specified directory including hidden ones. Is there a way to know what is and isn't hidden so that I can weed out the hidden stuff?
Any ideas welcome...Thanks.


Snarkbait(Posted 2008) [#2]
You can use the kernel32 GetFileAttributes function
(see my post here: http://www.blitzbasic.com/codearcs/codearcs.php?code=2177#comments )