Tuesday, May 31, 2016

Windows 10: Microsoft is quietly end the limitation of 260 characters for the path – Developpez.com

Windows filenames were once limited to a 8x.3x size: the name of the file then took eight characters and extension three. Then came Windows 95 and an extension of these limits. Note that the Windows file system continues to impose some restrictions such as the number of characters that can be used for file names or the number of characters for the paths. If the latter it was fixed at 260 characters, the last pre-release of Windows 10, the Build 14352, will come to break this limit. A limit imposed by applications using the Win32 API to avoid buffer overflows when using a path, but can be very fast for problematic files that are located in far Windows tree.

If Microsoft has ignored when presenting the Build 14352, this limit should move to that imposed by the NTFS itself, that is to say 32 767 characters . The description of this feature is available in the character editor: “activation of long paths of NTFS will help clear Win32 applications and Windows Store apps to access roads beyond the normal limit of 260 characters per node. “

note that this feature is not enabled by default and must be done manually. Just visit the Local Group Policy Editor by clicking the Start menu and typing input “gpedit.msc”. It will then go to Local Computer Policy & gt; Computer Configuration & gt; Administrative Templates & gt; System & gt; File & gt systems; NTFS. Once at this level, you will see an option then allows you to activate the long paths.


If you are using a version of Windows that does not provide access to local group policy editor (Windows 10 non-professional) and it will go through the registry editor. Click the Start menu, type “regedit.exe” and follow this path: HKEY_CURRENT_USER SOFTWARE Microsoft Windows CurrentVersion Group Policy Objects {} 48981759-12F2-42A6-A048-028B3973495F Machine System CurrentControlSet Policies

once in this way, look for the entry “LongPathsEnabled”. If it does not exist, right-click, select New DWORD (32-bit), rename it “LongPathsEnabled” (without the quotes), enter 1 and you’ll have it.

as you can see, this change by Microsoft Win32 concerns not only the software but also the application of its Windows Store, given the essential role they play in the future of Windows. In the application manifest, which contains information related to an application (such as name, author, icon) in a document that can be used by users and application markets, we must reassure that applications add a mention of this new policy to ensure that they take good care paths beyond the traditional 260 characters.

this means that, unless this is specified, this change will not be considered. Developers must update their applications to benefit from this feature.

The function that is currently available on current Build the pre-release of Windows 10, should be available on all systems with launch of the Windows 10 Anniversary Update (codenamed Redstone) planned for this summer

Source:. Windows blog (availability of Build 14352) gHacks

And you?

What do you think?

LikeTweet

No comments:

Post a Comment