Does MAX_PATH issue still exists in Windows 10

后端 未结 3 1758
旧时难觅i
旧时难觅i 2020-12-02 05:57

Can someone please tell us/me if the MAX_PATH issue still exists in (the technical preview of) Windows 10. And if it exists: How many characters can a path and an individual

3条回答
  •  忘掉有多难
    2020-12-02 06:42

    Here's some ansible code to enable long paths to avoid all that clicking in @magicandre1981 answer. This was tested on Windows Server 2016, it should work on Windows 10 too.

    - name: Remove filesystem path length limitations
      win_regedit:
        path: HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem
        name: LongPathsEnabled
        type: dword
        data: 1
        state: present
    

提交回复
热议问题