Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZlpPathHelper.IsAbsolute not support long path format #25

Closed
rwrc opened this issue May 13, 2019 · 1 comment
Closed

ZlpPathHelper.IsAbsolute not support long path format #25

rwrc opened this issue May 13, 2019 · 1 comment
Assignees
Labels

Comments

@rwrc
Copy link

rwrc commented May 13, 2019

if path starts with "\\?\" the ZlpPathHelper.IsAbsolute method returns always false.

var absolutePath = ZlpPathHelper.GetAbsolutePath(longRelativeFilePath, longBasePath);
// absolutePath has prefix \\\\?\\
var isAbsolutePath = ZlpPathHelper.IsAbsolutePath(absolutePath);
//isAbsolutePath is false ;(
@UweKeim UweKeim self-assigned this May 13, 2019
@UweKeim UweKeim added the bug label May 13, 2019
@UweKeim
Copy link
Owner

UweKeim commented May 13, 2019

Also on NuGet:

https://www.nuget.org/packages/ZetaLongPaths/1.0.0.29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants