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 [...]
"

1,397 views      
Thread locked
 

Messages in this Thread

 
94,494 Postings in 11,923 Threads, 348 registered users, 12 users online (3 registered, 9 guests)
Index | Admin contact |   Forum Time: Oct 22, 2019 - 3:44 pm EDT  |  Hits:28,794,758  (3,302 Today )
RSS Feed