hi,
i've used Directory.GetFiles(path, "*.*", SearchOption.AllDirectories)
method to
return the files in a given path....
but i've a small concern here...whenever I give path like "d:\", i'm getting
an unauthorizedaccess exception...this is because i'm not able to read certain
directories like 'system volume information'...etc..
is any other alternative? how can i get the file list for a given path?
Jeff Gaines - 28 Jun 2007 14:43 GMT
On 28/06/2007 in message
>hi,
>i've used Directory.GetFiles(path, "*.*", SearchOption.AllDirectories)
[quoted text clipped - 8 lines]
>
>is any other alternative? how can i get the file list for a given path?
It.s most likely System Volume Information. I use a try/catch to get round
it.

Signature
Jeff Gaines