Link to home
Start Free TrialLog in
Avatar of sidwelle
sidwelleFlag for United States of America

asked on

fso.FolderExists("\\server\HiddenFolder$")

I have always used fso.folderExists to determine if a network folder exists before I try to write to it, but this is the first time I have ever tried to test for a hidden network folder, and from my initial testing, it returns false when the folder does exist,  I have a windows explorer window open and I can view the contents.

Is there some secret parameter that needs to be passed to detect hidden folders ?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Brian Benson
Brian Benson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sidwelle

ASKER

Found the problem, the path was wrong.  Fought w/it for an hour before I noticed it.

It does work on hidden folders, wont let me do a wildcard search for files !
Had not thought of trying to loop through the files, wonder if the system is smart enough to stop you ?

Thanks
Avatar of Brian Benson
Brian Benson

I haven't tried that, would be interesting exercise.