|04 Jan 2010||#1|
Max length - Directory plus file name
just a quick question
What's the maximum length of a directory PLUS file name -- the reason I'm asking this is that I've some CD's (a lot BTW) ripped into directories into FLAC format.
Tidying up the music folders I sometimes get a warning -- Name too long to send to the re-cycle bin.
I need to know the max nr of characters so I can select the ripping parameters correctly. If the combined directory / file name is too long then I might have trouble backing up the data (music) too.
I usually use ALBUM name (extracted from GRACENOTE or FREEDB depending on what the ripping program is) as the directory name and a number of parameters added to the track title - including a number for the music tracks with the album name as the directory.
However I can't seem to find anything on Max file name length for NTFS.
|My System Specs|
|12 Sep 2012||#3|
I tested this "theory" in practice, and the maximum file name length is indeed 255 bytes, but the full path limit is 258 bytes:
The full path limit of 32,767 characters is only obtainable by using "\\?\c:\<very long path>" in programming languages and does not reflect normal Windows or Dos usage, which is limited to 258 characters + a terminating zero byte:
|My System Specs|
|Similar help and support threads for2: Max length - Directory plus file name|
|Max file name length||General Discussion|
|How Increase Desktop Icon File Name or Filename Length?||General Discussion|
|404 - File or directory not found.||Chillout Room|
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
All times are GMT -5. The time now is 13:13.