Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
In DOS, files are stored in a directory, which includes entries to describe each file's characteristics, including its attributes. Software programs may look at the directory entry to determine the attributes of a file and make decisions on how to treat it. For example, a file management program may provide a warning to a user who tries to delete a file that is marked as read-only in the directory.
Programmers and viruses can override file attributes.