Filename and path length restrictions under Win95 and WinNT vs

Andy Bakun abakun at
Fri Feb 5 23:50:28 GMT 1999

I originally wrote my findings under:

But I got no responses.  It appears to be different from Office, Explorer and
Notepad.  It is not a limit in samba, apparently, as far as I can tell. But I
may be wrong on this.

Richard Sharpe wrote:

> I have been seeing file name restrictions under Win95 (and probably WinNT)
> of the following sort:
>    Max file name len   = 127/128 chars
>    Max path len        = 255/256 chars
> I simply used windows explorer to change names of files until I could not
> increase the lenght of a file name, then went to my Samba server and
> checked the lenght of the created file and or path with 'wc'.
> However, I recall seeing someone's suggestion that Samba truncated these
> things.
> Can anyone give me the definitive values for the above?

More information about the samba-technical mailing list