DOS 5

File access denied.

a) Attributes wrong
b) Batch file wrong
c) Del *.CFG
d) Wrong LPT port for printer
e) NOT Enough conventional memory

Reported by Reset or Append if FileMode allows writing and the
name assigned to the file variable specifies a directory or a
read-only file.

Reported by Rewrite if the directory is full or if the name
assigned to the file variable specifies a directory or an existing
read-only file.

Reported by Rename if the name assigned to the file variable
specifies a directory or if the new name specifies an existing
file.

Reported by Erase if the name assigned to the file variable
specifies a directory or a read-only file.

Reported by MkDir is a file with the same name exists in the
parent directory, if there is no room in the parent directory,
or if the path specifies a device.

Reported by Read or BlockRead on a typed or untype file if the
file is not open for eading.

Reported by Write or BlockWrite on a typed or untyped file if
the file is not open for writing.