In DOS, if 'file name' is more than 8-characters then which flags of 'attribute byte' are set
Question
In DOS, if 'file name' is more than 8-characters then which flags of 'attribute byte' are set
Solution
In DOS, if a file name is more than 8 characters, it doesn't directly affect the flags of the attribute byte. The attribute byte is used to store the properties of the file, such as whether it's read-only, hidden, a system file, a directory, etc.
The 8.3 filename limitation is a separate issue and is a result of the file system used by DOS, known as FAT (File Allocation Table). In the FAT file system, file names are stored in a specific format: 8 characters for the name, a period, and 3 characters for the extension.
If a file name is more than 8 characters, DOS uses a system called VFAT (Virtual File Allocation Table) where it creates an alias for the long file name in the 8.3 format. This alias is what is used in the FAT system, while the long file name is stored elsewhere.
So, to answer your question, a file name being more than 8 characters doesn't set any specific flags in the attribute byte. The attribute byte and the file name length are handled separately in DOS.
Similar Questions
"Byte files are then translated into binary 1 and 0 for easier processing by the computer."State whether true or false.Select one:FalseTrue
Byte stuffing means adding a special byte to the data section of the frame when there is a character with the same pattern as the ______.a.none of the aboveb.flagc.trailerd.header
Byte stuffing means adding a special byte to the data section of the frame when there is a character with the same pattern as the ______.a.none of the aboveb.flagc.headerd.trailer
What is the size of the char data type in bytes?A. 1 byteB. 2 bytesC. 4 bytesD. It depends on the system
The four basic file attributes, regardless of the operating system, are:
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.