G
Guest
I loop through all the folders in a directory.
I want to be able to check if a folder is set as hidden.
I've been playing around with FileAttributes, see below. But its not working.
FileAttributes fileAttributes = File.GetAttributes(fileName);
It returns a value of 34 which is not one of the values in the
FileAttributes Enumeration.
Anyone done this before? How can i test if its hidden or not?
thank you
I want to be able to check if a folder is set as hidden.
I've been playing around with FileAttributes, see below. But its not working.
FileAttributes fileAttributes = File.GetAttributes(fileName);
It returns a value of 34 which is not one of the values in the
FileAttributes Enumeration.
Anyone done this before? How can i test if its hidden or not?
thank you