260
255 characters maximum
The maximum length of a directory name or file name is affected by the location itself.The maximum length of the path to a file on a modern Operating System is 255 characters.
cannot exceed 260 characters
space or hypen
space or hypen
You can use file name as filename.extension. File name in DOS can be maximum of 8 characters and extension is maximum of 3 characters. If you create any file having more character then it will automatically exclude the remaining characters. Say if you create dharmsansar then DOS will save it as dharmsa~..
On FAT16 partitions, you are limited to 8 characters for the name plus 3 for the file extension. If you have FAT32 and a capable kernel, you can use up to 255 characters in total as a file name.In the original MS-DOS of the pre-Windows 95 era, filenames were only allowed to have 8 letters, followed by a period '.', then only 3 letters for the file extension.After Windows 95, filenames can have a maximum of 255 characters.
On FAT16 partitions, you are limited to 8 characters for the name plus 3 for the file extension. If you have FAT32 and a capable kernel, you can use up to 255 characters in total as a file name.In the original MS-DOS of the pre-Windows 95 era, filenames were only allowed to have 8 letters, followed by a period '.', then only 3 letters for the file extension.After Windows 95, filenames can have a maximum of 255 characters.
AnswerAssuming you are using the NTFS file system (this is likely if you are running Windows XP, to find out for sure go to "My computer", right-click on your main hard drive, likely "C:" and click properties, the annotation next to "File System" is your answer) then the maximum number of characters in a file name is 256. Keep in mind however that if your computer hides file extensions (such as the ".exe", ".doc", etc.) those still count towards your 256 maximum (i.e. if you have a program named "test" on your desktop it would appear to only contain four characters, but in reality the full file name is "test.exe" therefore taking up a total of eight characters. The maximum is 256
Windows 95 supported file names up to 255 characters in length.
The maximum length for a volume name in Windows is 32 characters. This includes letters, numbers, spaces, and special characters, but it does not allow certain reserved characters like / \ : ? " < > |.