Question Locked

File/Folder name length

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

What is the longest file and folder name length possible in XP/2003 and Vista.

Also is there a maximum total for the folder structure length to the file, ie. c:\folder\folder\folder\file.txt

3 replies

by curlergirl

There is no specific limit to a single file or folder name, but the maximum overall filepath length is 255 characters. "Filepath" means the entire path string, including all folder, subfolder and file names. So, you could conceivably have a file name that was 253 characters if it was at the root of your C: drive. That is true for XP/2003, but I don't know about Vista.

Hope this helps!

by luz_p

How about the maximum size for a folder's name in an Apache server?
Would the same rule apply?

Thanks in advance for your help.

This discussion is closed to new replies.