UweKeim / ZetaLongPaths

A .NET library to access files and directories with more than 260 characters length.
https://nuget.org/packages/ZetaLongPaths
MIT License
141 stars 28 forks source link

GetDirectoryRoot(_path) #33

Closed MustafaDaoud90 closed 3 years ago

MustafaDaoud90 commented 3 years ago

How to get GetDirectoryRoot() in ZetaLongPath? such as System.IO.Directory.GetDirectoryRoot(_path)

UweKeim commented 3 years ago

Could you check whether ZlpPathHelper.GetDriveOrShare() might help?

Alternatively, ZlpPathHelper.GetDriveOrShareAndDirectory() might also help.

MustafaDaoud90 commented 3 years ago

yes, it helps me.

Thank you a lot.