T
TyBreaker
Hi, I'm iterating through the folders on my system and am getting an
exception with "System Volume Information". Obviously it's a region I'm
not supposed to access so I'm trying to filter it out by checking for
the folder name before trying to use it:
If Folder.Name <> "System Volume Information" Then
GetFolderDetails(Folder)
End If
But for some reason the if statement is not matching and I'm getting a
run time exception within my GetFolderDetails because it is trying to
access the files in that folder. Can anyone explain why it doesn't get
caught by my if?
--
______ ___ __
/_ __/_ __/ _ )_______ ___ _/ /_____ ____
/ / / // / _ / __/ -_) _ `/ '_/ -_) __/
/_/ \_, /____/_/ \__/\_,_/_/\_\\__/_/
/___/
There are 10 types of people in this world; those who understand the
binary numbering system and those who don't.
There's no place like 127.0.0.1.
ASCII a silly question, get a silly ANSI.
exception with "System Volume Information". Obviously it's a region I'm
not supposed to access so I'm trying to filter it out by checking for
the folder name before trying to use it:
If Folder.Name <> "System Volume Information" Then
GetFolderDetails(Folder)
End If
But for some reason the if statement is not matching and I'm getting a
run time exception within my GetFolderDetails because it is trying to
access the files in that folder. Can anyone explain why it doesn't get
caught by my if?
--
______ ___ __
/_ __/_ __/ _ )_______ ___ _/ /_____ ____
/ / / // / _ / __/ -_) _ `/ '_/ -_) __/
/_/ \_, /____/_/ \__/\_,_/_/\_\\__/_/
/___/
There are 10 types of people in this world; those who understand the
binary numbering system and those who don't.
There's no place like 127.0.0.1.
ASCII a silly question, get a silly ANSI.