Share via

Drive Type

OSVBNET 1,401 Reputation points
2022-06-17T00:48:11.603+00:00

Hello,
While listing the drives, I need not to list the ones that are read-only or not writable by nature, like optical ones, just 3 questions about 3 of them:

https://learn.microsoft.com/en-us/dotnet/api/system.io.drivetype?view=net-6.0

NoRootDirectory, guess it's unformulated drives, so can't write to them at all, right?

Ram, can a ram drive to be read-only?

Unknown, what are possibilities? and how do you guys react with this?

Thanks for sharing the info :)

Developer technologies | VB
0 comments No comments

Answer accepted by question author

Jiachen Li-MSFT 34,241 Reputation points Microsoft External Staff
2022-06-17T07:43:37.763+00:00

Hi @OSVBNET ,

  1. NoRootDirectory meams "This drive letter is unused". All not found drives have the type DriveType.NoRootDirectory.
  2. No.
  3. One possible cause: The drive is damaged.
    Best Regards.
    Jiachen Li

----------

If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.