A
Amirallia
Hi,
Here is the code to found the storage directory :
Dim rootDir As DirectoryInfo = New DirectoryInfo("\")
Dim attrStorageCard As FileAttributes = (FileAttributes.Directory Or
FileAttributes.Temporary)
Dim fsi As FileSystemInfo
For Each fsi In rootDir.GetFileSystemInfos()
If ((fsi.Attributes And attrStorageCard) = attrStorageCard) Then
fsi.FullName
End If
Next
It's wok perfectly, but is it possible to differenciate the permanent
memory(the path of my PPC is "\iPAQ File Store") and the other
strorage directory (SD card for example) ?
Here is the code to found the storage directory :
Dim rootDir As DirectoryInfo = New DirectoryInfo("\")
Dim attrStorageCard As FileAttributes = (FileAttributes.Directory Or
FileAttributes.Temporary)
Dim fsi As FileSystemInfo
For Each fsi In rootDir.GetFileSystemInfos()
If ((fsi.Attributes And attrStorageCard) = attrStorageCard) Then
fsi.FullName
End If
Next
It's wok perfectly, but is it possible to differenciate the permanent
memory(the path of my PPC is "\iPAQ File Store") and the other
strorage directory (SD card for example) ?