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

Normalise MSDOS short paths #19

Closed
caesay opened this issue Jul 14, 2024 · 2 comments
Closed

Normalise MSDOS short paths #19

caesay opened this issue Jul 14, 2024 · 2 comments

Comments

@caesay
Copy link

caesay commented Jul 14, 2024

It would be really slick if this library could also use GetLongPathNameW to expand MSDOS short paths. For example, confronted with the following path I need to use .normalize() followed by GetLongPathNameW in my own code to actually get a normalized path:

C:\Users\RUNNER~1\AppData\Local\Temp.tmpN5xnH8

Since .normalize() already requires the file/path to exist, it would make sense for it to call this. It will not work for the _virtually() variant.

dylni added a commit that referenced this issue Jul 27, 2024
dylni added a commit that referenced this issue Jul 27, 2024
@dylni
Copy link
Owner

dylni commented Jul 27, 2024

This is a great idea. The code on the default branch has been updated to include this change, and it will be published as part of 1.3.0. Let me know if you are able to test it before that point.

@dylni
Copy link
Owner

dylni commented Aug 3, 2024

This has been published as version 1.3.0.

@dylni dylni closed this as completed Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants