feedback icon indicating copy to clipboard operation
feedback copied to clipboard

Confusing word choice about extended maximum path length

Open Wallby opened this issue 2 years ago • 3 comments

Describe the bug

The maximum path of 32,767 characters is approximate, because the "\\?\" prefix may be expanded to a longer string by the system at run time, and this expansion applies to the total length.

It seems that here is stated that..

The "\\?\" prefix may be expanded to a longer string by the system at run time and the expanded string must be within the maximum path length (i.e. thus less then 32,767 characters may be usable)

Though "The maximum path of 32,767 characters is approximate" seems to be incorrect if 32,767 characters is a hard limit which it seems to be.

Above is from https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd

To Reproduce - Expected behavior - Screenshots - Desktop (please complete the following information): - Smartphone (please complete the following information): - Additional context -

Wallby avatar May 02 '22 09:05 Wallby

@wallby What's the article you were looking at?

gewarren avatar May 17 '22 23:05 gewarren

@gewarren Added link now, seems perhaps I forgot to include it.

Wallby avatar May 18 '22 07:05 Wallby

@GrantMeStrength FYI.

gewarren avatar May 18 '22 18:05 gewarren