How to manage long path issue of windows #194

Closed
opened 2026-01-29 22:08:05 +00:00 by claunia · 5 comments
Owner

Originally created by @talk2sunil83 on GitHub (Jun 16, 2017).

Hi there,
While unzip I encountered the message "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters." I know the reason of issue but is there any inbuilt way/option to handle it.

Thanks

Originally created by @talk2sunil83 on GitHub (Jun 16, 2017). Hi there, While unzip I encountered the message "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters." I know the reason of issue but is there any inbuilt way/option to handle it. Thanks
Author
Owner

@adamhathcock commented on GitHub (Jun 17, 2017):

This is a likely a framework issue. Long path support came in 4.6.2 https://blogs.msdn.microsoft.com/dotnet/2016/08/02/announcing-net-framework-4-6-2/

Give me a stack trace of you think otherwise.

@adamhathcock commented on GitHub (Jun 17, 2017): This is a likely a framework issue. Long path support came in 4.6.2 https://blogs.msdn.microsoft.com/dotnet/2016/08/02/announcing-net-framework-4-6-2/ Give me a stack trace of you think otherwise.
Author
Owner

@talk2sunil83 commented on GitHub (Jun 18, 2017):

Hi Adam,
Thank you for information.

--Sunil

@talk2sunil83 commented on GitHub (Jun 18, 2017): Hi Adam, Thank you for information. --Sunil
Author
Owner

@Veiintc commented on GitHub (Jul 17, 2018):

I want to use it in .net3.5. Is there any solution?
My English is not very good, what is wrong, please forgive me^_^

@Veiintc commented on GitHub (Jul 17, 2018): I want to use it in .net3.5. Is there any solution? My English is not very good, what is wrong, please forgive me^_^
Author
Owner

@adamhathcock commented on GitHub (Jul 17, 2018):

You have to manage the paths yourself to ensure it’s less than 260 characters. Nothing else can be done.

@adamhathcock commented on GitHub (Jul 17, 2018): You have to manage the paths yourself to ensure it’s less than 260 characters. Nothing else can be done.
Author
Owner

@Veiintc commented on GitHub (Jul 17, 2018):

Thank you for this .Looks like I have to manage the paths.
Thanks again for your reply^_^

@Veiintc commented on GitHub (Jul 17, 2018): Thank you for this .Looks like I have to manage the paths. Thanks again for your reply^_^
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#194