C
Chris
Hi everyone,
I'm trying to find the fastest way to get all the files from the local c:
drive. I have even considered the api calls findfirst/findnext, but read
that in VB.net it's best to use the GetFiles function.
I'm using:
Dim files As String() = System.IO.Directory.GetFiles("c:\", "*.*",
IO.SearchOption.AllDirectories)
and get UnAuthorizeException was unhandled: "Access to the path 'c:\System
Volume Information' is denied."
Is there any way I can just ignore the exception and have the program
continue where it left off?
Thanks,
Chris
I'm trying to find the fastest way to get all the files from the local c:
drive. I have even considered the api calls findfirst/findnext, but read
that in VB.net it's best to use the GetFiles function.
I'm using:
Dim files As String() = System.IO.Directory.GetFiles("c:\", "*.*",
IO.SearchOption.AllDirectories)
and get UnAuthorizeException was unhandled: "Access to the path 'c:\System
Volume Information' is denied."
Is there any way I can just ignore the exception and have the program
continue where it left off?
Thanks,
Chris