ZTree.com  | ZEN  | About...  

 Index   Back

[Tip] Loooooong (> 260) paths in Windows 10 v1607   [Tip]

By: Liviu       
Date: Aug 02,2016 at 20:55

From the (recently updated) page for Naming Files, Paths, and Namespaces:

"Starting in Windows 10, version 1607, MAX_PATH limitations have been removed from common Win32 file and directory functions. However, you must opt-in to the new behavior.

A registry key allows you to enable or disable the new long path behavior. To enable long path behavior set the registry key at HKLM\SYSTEM\CurrentControlSet\Control\FileSystem LongPathsEnabled (Type: REG_DWORD). The key's value will be cached by the system (per process) after the first call to an affected Win32 file or directory function (list follows). The registry key will not be reloaded during the lifetime of the process. In order for all apps on the system to recognize the value of the key, a reboot might be required because some processes may have started before the key was set.

The registry key can also be controlled via Group Policy at Computer Configuration > Administrative Templates > System > Filesystem > Enable NTFS long paths.

You can also enable the new long path behavior per app via the manifest [...]

Thread locked

Messages in this Thread

94,957 Postings in 11,969 Threads, 349 registered users, 22 users online (0 registered, 22 guests)
Index | Admin contact |   Forum Time: May 25, 2020 - 1:27 am EDT  |  Hits:31,224,188  (535 Today )
RSS Feed