Hi,
I get the directories like this:
However, it returns all directories even system hidden ones.
It seems that this just follows what I set in Windows for file and folder browsing, since I set the Windows to show all files, I think it's also showing all folders to me, I am not sure however.
I just want NOT to get the system directories like Recycle Bin and System Volume Information, how to do that?
Thank you.
I get the directories like this:
Visual Basic:
Dim DriveInfo As New DirectoryInfo("C:\")
Dim DirInfo As DirectoryInfo() = DriveInfo.GetDirectories
It seems that this just follows what I set in Windows for file and folder browsing, since I set the Windows to show all files, I think it's also showing all folders to me, I am not sure however.
I just want NOT to get the system directories like Recycle Bin and System Volume Information, how to do that?
Thank you.