Calling DosDelete removes the directory entry associated with a file name. Metacharacters (global file name characters) are not permitted.
Files whose read-only attribute is set cannot be deleted.