Microsoft KB Archive/67368

From BetaArchive Wiki
Knowledge Base


Article ID: 67368

Article Last Modified on 11/16/2006



APPLIES TO

  • Microsoft MS-DOS 3.1
  • Microsoft MS-DOS 3.2 Standard Edition
  • Microsoft MS-DOS 3.21 Standard Edition
  • Microsoft MS-DOS 3.3 Standard Edition
  • Microsoft MS-DOS 3.3a
  • Microsoft MS-DOS 4.0 Standard Edition
  • Microsoft MS-DOS 4.01 Standard Edition
  • Microsoft MS-DOS 5.0 Standard Edition
  • Microsoft MS-DOS 5.0a
  • Microsoft MS-DOS 6.0 Standard Edition
  • Microsoft MS-DOS 6.2 Standard Edition
  • Microsoft MS-DOS 6.21 Standard Edition
  • Microsoft MS-DOS 6.22 Standard Edition



This article was previously published under Q67368

SYMPTOMS

When you try to delete a file, you receive the error message:

Access denied

CAUSE

This most commonly occurs when the file has the Read-Only attribute set. The Read-Only attribute prevents a file from being deleted or modified.

WORKAROUND

If the file has the Read-Only file attribute set, use the ATTRIB command to remove that attribute and then delete or modify the file. For example, to remove the Read-Only file attribute from MYFILE.DOC, type attrib -r myfile.doc at the MS-DOS command prompt and then press ENTER.

MORE INFORMATION

For more information about the ATTRIB command, refer to your MS-DOS documentation.


Additional query words: 6.22 3.20 3.21 3.30 3.30a 4.00 4.01 5.00 5.00a 6.00 6.20

Keywords: KB67368