Sunday, February 7, 2010

File names can be a maximum of 255 characters including the file extension. True or False?

False.


Excluding extension 255 in DOS





In new OSs it can be longer.File names can be a maximum of 255 characters including the file extension. True or False?
Different Operating Systems (OS) have different restrictions on the length on their filenames. You are probably talking about NTFS based OS like Windows XP, Vista and 7. In that case, yes, the filename is restricted to 255 characters.





This would make sense if they address each character in the filename using an 8 bit variable.





00000000 = 0 (lowest number)


11111111 = 255 (highest number)

No comments:

Post a Comment