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

[Feature] Max Path >260 #80

Closed
Hofknecht opened this issue Apr 11, 2020 · 3 comments
Closed

[Feature] Max Path >260 #80

Hofknecht opened this issue Apr 11, 2020 · 3 comments
Assignees
Labels
Milestone

Comments

@Hofknecht
Copy link
Owner

Hofknecht commented Apr 11, 2020

The maximum length for a path (file name and its directory route) — also known as MAX_PATH — has been defined by 260 characters. But with the latest Windows 10 Insider preview, Microsoft is giving users the ability to increase the limit.

https://mspoweruser.com/ntfs-260-character-windows-10/
https://stackoverflow.com/questions/5188527/how-to-deal-with-files-with-a-name-longer-than-259-characters

@Hofknecht Hofknecht changed the title [Feature] Max Patch [Feature] Max Path Apr 11, 2020
@Hofknecht
Copy link
Owner Author

Hofknecht commented Apr 11, 2020

could create a longer filenamepath by copy from desktop into folder,
fixed here, that it not crashes
image

@Hofknecht Hofknecht added this to the 1.1.A milestone Apr 11, 2020
Hofknecht added a commit that referenced this issue Apr 11, 2020
@Hofknecht Hofknecht changed the title [Feature] Max Path [Feature] Max Path 260 Apr 11, 2020
@Hofknecht
Copy link
Owner Author

Hofknecht commented Apr 11, 2020

TODO:
When activate >260, do we need to implement something? Test this
evaluate at these methods:
files = Directory.GetFiles(path);
directories = Directory.GetDirectories(path);
FileAttributes attributes = File.GetAttributes(path);

Hofknecht added a commit that referenced this issue Apr 11, 2020
@Hofknecht Hofknecht modified the milestones: 1.0, 1.1 Jul 27, 2020
Hofknecht added a commit that referenced this issue Aug 6, 2020
@Hofknecht
Copy link
Owner Author

most issues were solved trough change to .net core
last change was instead calling process.start("explorer.exe", longPath) we call now directly process.start(longPath)

done ; )

@Hofknecht Hofknecht self-assigned this Aug 6, 2020
@Hofknecht Hofknecht changed the title [Feature] Max Path 260 [Feature] Max Path >260 Aug 13, 2020
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

1 participant