Arthur Posted May 29, 2016 Posted May 29, 2016 As is always the case with Microsoft, there's a catch. To enable support for paths longer than 260 characters you will need to enable the Group Policy setting shown below (build 14352 onwards) and app developers will need to update their programs. Source: WinAero In Windows 10 Anniversary Update, Microsoft finally addressed a long-standing issue that developers faced while doing development - the 260 character limitation for path length. This path length limitation was present in Windows for almost an eternity. In case you don't know, in all currently released Windows versions, the maximal length of the file path is 260 chars. Starting with build 14352 of Windows 10, which is part of the Anniversary Update (version 1607), this limitation can be bypassed. All Windows file systems have a concept of files and folders to access stored data. A path is a string value that indicates where that data is stored. However, there is a limitation of 260 characters for the path imposed by Windows, which includes the drive letter, colon, separating backslashes and a terminating null character. This is not a limitation of the NTFS file system but of the legacy APIs that are used to access data. There are also workarounds like accessing the Unicode (or "wide") versions of the Windows API functions, and also by prefixing the path with \\?\. At the end user level, some users might have already faced the issue in the past, when File Explorer doesn't allow access to a file or a folder, if the path to it exceeds 260 chars. In such a situation, the user has no other solution but to either use symbolic links to access that data or a third party tool which uses workarounds. For example, the alternative file management tool, Total Commander can help you access such files and folders, since it is able to work with long paths out of the box. However, the Explorer Shell still has had this limitation in Windows for years. To resolve this issue, Microsoft has made the appropriate changes in Windows 10. A new Group Policy setting, available starting with Windows 10 build 14352, will allow the operating system to have paths longer than 260 chars: Enabling NTFS long paths will allow manifested Win32 applications and Windows Store applications to access paths beyond the normal 260 char limit per node. Enabling this setting will cause the long paths to be accessible within the process. This actually means that an application has to have the following line in its manifest: true A manifest is a small file that contains additional information about the process EXE such as compatibility information and DPI-awareness etc. Besides the app developer adding the manifest, the appropriate Group Policy setting should be enabled. This can be done using Group Policy Editor or by using a Registry tweak. Computer Configuration » Administrative Templates » System » Filesystem » NTFS » [b]Enable NTFS long paths[/b] As of build 14352, Microsoft has yet to add long path support to File Explorer since this lacks the "longPathAware" manifest element. 4
elsiegee40 Posted May 31, 2016 Posted May 31, 2016 That's going to disappoint a few teenagers who will like to hide things in ridiculously long paths 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now