|
By default, Windows does not support long file names when using local paths such as "C:\Folder\Files". It does support it using UNC, such as "\\localhost\c$\Folder\Files", which if you are running as Administrator, would access the same folder as the first example.
To fix it so that local paths work, you can do the following. Windows 10 1607 and later support a registry/group policy change which enables support for longer paths up to 32,000 characters. Some applications have hardcoded limits which will still not work. https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry Here is the registry file. Save this as a .reg file, then right click and Import it. Copy to Clipboard
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"LongPathsEnabled"=dword:00000001
|