A filename in windows XP can have up to 255 characters.
Windows 95 supported file names up to 255 characters in length.
255
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.
260
About 260 characters.
8.3 file name i.e. <8 characters fo filename>.<3 chars for extension> But U can not use special characters in file name as \ / : * ? " < > |
Following characters are not allowed in the file name (Separated by comma). /, \, ?, %, *, :, |, ", < and >
The maximum number of characters allowed for a file name varies by operating system. For example, in Windows, the maximum file name length is 260 characters, including the path. In contrast, most Linux filesystems allow file names up to 255 characters. It's important to note that these limits can be affected by the file system being used.
In DOS, 8 characters.In Windows, 254 characters.
Wildcards
cannot exceed 260 characters
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~..