gpt4 book ai didi

path - Windows 10 中是否仍然存在 MAX_PATH 问题

转载 作者:行者123 更新时间:2023-12-03 05:19:40 25 4
gpt4 key购买 nike

有人可以告诉我们/我是否 MAX_PATH issue仍然存在于 Windows 10(技术预览版)中。如果存在:路径和单个文件名可以有多少个字符?

最佳答案

该问题将始终存在于 Windows 中,以保持与旧软件的兼容性。 Use the NT-style name syntax “\\?\D:\very long path” 来解决此问题。

从 Windows 10(版本 1607 - 周年更新)和 Windows Server 2016 开始,您可以选择忽略 overriding a group policy entry enable NTFS long pathsMAX_PATH 问题。在计算机配置 -> 管理模板 -> 系统 -> 文件系统下:

enter image description here

enter image description here

应用程序必须在应用程序 list 中具有类似于 DPIAware 的条目 longPathAware

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" >
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
<longPathAware>true</longPathAware>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>

关于path - Windows 10 中是否仍然存在 MAX_PATH 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27680647/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com