As per https://learn.microsoft.com/en-us/answers/questions/1496090/maximum-path-length-limitation
Windows Server, starting with Windows Server 2016 and Windows 10 Version 1607, supports long pathnames by default, which means that the maximum length of a path is no longer the traditional 260 characters.
To enable long paths, enable the "Enable Win32 Long Paths" option in Group Policy. You can access the Group Policy Editor by following these steps:
- Open the Run dialog box, type gpedit.msc and press Enter.
- Go to Computer Configuration > Administrative Templates > System > File System.
- Find the "Enable Win32 Long Path" option on the right pane, double-click it and set it to the "Enabled" state.
- Click the Apply and OK buttons, and then close the Group Policy Editor.
When long paths are enabled, you can create, copy, move, and rename file paths longer than 260 characters on your Windows Server.
https://learn.microsoft.com/zh-cn/windows/win32/fileio/maximum-file-path-limitation?tabs=registry
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin