Hi Jabe, RIght now, this is how I am trying to check it, but it is returning true for every directory!!
---------------------------------------------------------------------
Private Function IsSystemFile(ByRef dir As DirectoryInfo) As Boolean
If dir.Attributes().System = FileAttributes.System Then
Return True
Else
Return False
End If
End Function
---------------------------------------------------------------------
Please let me know if there is any other way to check that.
And mutant.....I am using the Directory.GetDirectories class to get the list of directories. This is what it is saying when I run the application:
--------------------------------------------------------------------------
Access to path f:\\System Volume Information is denied
--------------------------------------------------------------------------
I am not getting this message for the C and D drives which are being checked before the F-drive according to my algorithm.
Any ideas??
Hi PlausiblyDamp...I understand that it is the permission problem. But when we r running this application on the web, we cant possibly do anything about the permissions of the users system directories..istnt it???
Thanks for your time guys......
SJ