Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Max length - Directory plus file name

04 Jan 2010   #1

Linux CENTOS 7 / various Windows OS'es and servers
Max length - Directory plus file name

Hi all
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 SpecsSystem Spec
04 Jan 2010   #2

Windows 10 Pro (x64)

The max file name length is 255 (UTF-16) for the full path the limit is 32,767 (UTF-16).
My System SpecsSystem Spec
12 Sep 2012   #3

Windows 7 Home Premium x64
In Practice:

Quote   Quote: Originally Posted by logicearth View Post
The max file name length is 255 (UTF-16) for the full path the limit is 32,767 (UTF-16).
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 SpecsSystem Spec


 Max length - Directory plus file name

Thread Tools

Similar help and support threads
Thread Forum
"Sound Recorder" Can I reduce length of WMA file?
I have my Reel to Reel tape deck hooked up to my computer thru the blue, line in connector. I have windows 7. I have a bunch of short tapes that I want to record on "Sound Recorder". If I start to record and come back later and the Sound Recorder is still recording but the tape ran out some minutes...
Sound & Audio
MP3 file gets shorter (length) in an specific destination When the file is in the desktop or any other folder it is 3:25 long, but when i put it on an specific folder it gets shorter to 1:40:cry::mad:, this happens only with 2 files. Appreciate the help.
Music, Pictures & Video
Max file name length
I have a question regarding files. How many levels of subfolders can there be? I've seen the max amount of characters is 260, does this include the path with slashes? I remember back in the day when files could only be 8 characters long and I had to make shorthand notations to remember what the...
General Discussion
How Increase Desktop Icon File Name or Filename Length?
How can one adjust the file name length of desktop icons? I have found the default setting on a new Windows 7 installation to be much too short.
General Discussion
404 - File or directory not found.
404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. I get this message when I go to the thred I posted, what does it mean? And how would I find out witch of the three it is TIA
Chillout Room

Our Sites

Site Links

About Us

Find Us

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 04:14.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App