Solution??? - Run Time Error if reading hidden dir

Blitz3D Forums/Blitz3D Programming/Solution??? - Run Time Error if reading hidden dir

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

How can I tell a directory is hidden?
I have a program that reads through the current directory and allows you to then move down the tree into the next directory.

Sadly, hidden directories cause a Run Time Error : Directory Does Not Exist.

How can I trap this? Can I get file attributes somehow, or is there another way without writing a C++ .dll or running a DOS script?

HELP! ;O)