-
Suggestion
-
Resolution: Unresolved
-
None
-
0
-
2
-
Description
Windows default character limit is 260. An error will occur in cases where Bamboo spawn process requiring file in a path which has characters exceeding the windows default 260 character limit;
An error similar to this may appear in the build log;
Could not find a part of the path 'C:\Windows\system32\config\ ...
Relates articles
- https://docs.microsoft.com/en-gb/windows/win32/fileio/naming-a-file#maximum-path-length-limitation
- https://docs.microsoft.com/en-gb/windows/win32/fileio/maximum-file-path-limitation
Workaround
Perform a registry hack to modify this limit;
$> reg add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 /f