10中是否仍然存在MAX

10中是否仍然存在MAX

本文介绍了Windows 10中是否仍然存在MAX_PATH问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以告诉我们我是否在Windows 10(技术预览)中仍然存在.并且如果存在:路径和单个文件名可以包含多少个字符?

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 file name have?

推荐答案

该问题将始终存在于Windows中,以保持与旧软件的兼容性. 使用NT样式名称语法 "\\?\D:\very long path"解决此问题.

The issue will be always present in Windows, to keep compatibility with old software. Use the NT-style name syntax "\\?\D:\very long path" to workaround this issue.

在Windows 10(版本1607-周年更新)和Windows Server 2016中,您似乎可以通过Computer Configuration-> Admin Templates-> enable NTFS long paths >-> FileSystem:

In Windows 10 (Version 1607 - Anniversary Update) and Windows Server 2016 you seem to have an option to ignore the MAX_PATH issue by overriding a group policy entry enable NTFS long paths under Computer Configuration -> Admin Templates -> System -> FileSystem:

应用程序必须在应用程序清单中具有与DPIAware相似的条目longPathAware.

The applications must have an entry longPathAware similar to DPIAware in the application manifest.

<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>

这篇关于Windows 10中是否仍然存在MAX_PATH问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 03:20