Character Length for Files and Folders

b00e

Solid State Member
Messages
18
Just wondering what the maximum length for Windows 2000 and XP for files and folders?

As guys here at work have such long file and folder names and i cant seem to move them or copy them and i dont really want to go through each one and change it.
 
are you in command prompt when you do this?
If so.. This is how it may work.

thisfo~1.exe

or for folders. c:\documents and settings would be.
c:\Docume~1\username\

or if the folder is c:\Local Settings. you would type:
c:\localS~1\
 
The maximum filename length in Windows XP is 255 characters. Keep in mind that this number includes the pathname and the extension.

So, for example, if you have a file named 'stuff.txt' in the root directory, C:\, it would be nine characters long. However, if you moved that file into a subfolder named 'things', it would then have sixteen characters (don't forget the slash). The maximum filename length cannot be changed in Windows.
 
Back
Top Bottom