Windows7是否修正了255字符文件路径限制?

据我所知,文件路径中255个字符的限制是 Windows 的限制。这样做的理由是什么?如果是这样,这个问题在 Windows7中解决了吗?

在我们的持续集成实践中,我们经常有深度嵌套的项目结构,如果能够超过255个字符,那将是非常有用的。现在,我们多少被迫以一种不触及这个人为天花板的方式来构建我们的项目。

228132 次浏览

You can get around that limit by using subst if you need to.

See http://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx

This explains that Unicode versions of Windows APIs have higher limits, and how to enable that.

Workarounds are not solutions, therefore the answer is "No".

Still looking for workarounds, here are possible solutions: http://support.code42.com/CrashPlan/Latest/Troubleshooting/Windows_File_Paths_Longer_Than_255_Characters

@Cort3z: if the problem is still present, this hotfix: https://support.microsoft.com/en-us/kb/2891362 should solve it (from win7 sp1 to 8.1)

From Windows 10 version 1607, the limitation has been removed by setting a registry key

https://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx?f=255&MSPPError=-2147217396#maxpath