DELETE DELETE Delete a File Usage Deletes a file. The general syntax for its use is delete('filename') or alternately delete filename which removes the file described by filename which must be relative to the current path.