Cannot delete file "name". (Error 2030)

Visual FoxPro is unable to delete a file. For example, Visual FoxPro cannot delete a file if the file is marked as read-only.