DOS ATTRIB Command Allows User to Set File At

DocumentID: 617195
Revision Date: 29-Feb-96 1:37:35 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Solutions: The DOS ATTRIB Command allows a user to assign or display file attributes. This can be very useful for users who wish to prevent inadvertent deletion or modification of a file or files by flagging the file(s) as Read Only. The syntax for displaying the current attributes is ATTRIB . To set files to Read Only, the user types ATTRIB +R . To change the attribute to Read Write, type ATTRIB -R . ATTRIB supports wildcard characters, so ATTRIB +R *.SYS would change all .SYS files to Read Only. Using the ATTRIB command to check the attributes of files being accessed by a user can be an important troubleshooting tool. For example, one user with soft fonts on a laser printer was unable to access the soft fonts on the hard drive. The fonts printed fine one day, but the next day the user received the message "File Not Found" when downloading the fonts. The user had not changed the path to the fonts (Shift-F7, S, 3, 7), nor had the user moved the fonts. It turned out that the user had changed the font files to Read Only. Changing the files back to Read Write using the -R qualifier with ATTRIB solved the problem.

Answer:

Details:

Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.