Article ID: 148754 - View products that this article applies to.
This article was previously published under Q148754
You may experience one or both of the following symptoms when you attempt to create a file in Windows 95:
Long file names are limited to 255 characters in Windows 95. However, the maximum path length in Windows 95 is 259 characters. The maximum path length represents the length of the file name, plus the number of characters used to represent the drive and folder where the file is located. For example, the path length for the file
is 33 characters, but the file name is only 22 characters.
Because the path length is limited to 259 characters, a long file name is limited to less than 255 characters if more than five characters are needed to represent the drive and folder where the file is located. If five characters or less are needed to represent the drive and folder where the file is located, the long file name is limited to 255 characters, even if the total path length is less than 259 characters. For example, if a file is located in the root folder of a drive, the long file name is still limited to 255 characters, even though 256 characters could be used before the maximum path length is reached.
When you use Windows Explorer to create a file, the length of the file name is limited to 250 characters instead of 255 characters. This is a known problem that occurs with Windows Explorer in Windows 95. However, if you use another program to create a file with a file name longer than 250 characters, the entire file name is visible in Windows Explorer.
To work around these problems, use the appropriate method:
Microsoft has confirmed that the 250-character file name limit on files created in Windows Explorer is a problem with Windows 95. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
For information about limitations on the length of file names when you are creating files from a command prompt, please see the following article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/121059/EN-US/ )Command-Line File Names Appear Limited to 127 Characters
Article ID: 148754 - Last Review: November 15, 2006 - Revision: 1.1
Contact us for more help
Connect with Answer Desk for expert help.