How long can a file name be on windows?

How long can a file name be on windows?

It depends on the length of the complete path to the file (such as C:\Program Files\filename.txt). Windows limits a single path to 260 characters. This is why you might occasionally get an error when copying a file with a very long file name to a location that has a longer path than the file’s original location.

Source: http://windows.microsoft.com/en-us/windows/file-names-extensions-faq#1TC=windows-7

2014 I ran into it (again) while extracting ZIP archives with Adobe AIR ZIP library. Note to myself: DO NOT FORGET WILL STILL BE VALID in 2020!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.