# DELETE FILE

Remove a file from disk

Syntax

  DELETE FILE <xcFile>

Arguments

  <xcFile> Name of file to remove

Description

  This command removes a file from the disk.The use of a drive,directo- ry,and wild-card skeleton operator is allowed for the root of the filename.The file extension is required.The SET DEFAULT and SET PATH commands do not affect this command.
  The file must be considered closed by the operating system before it may be deleted.

Examples

          Erase c:\autoexec.bat
          Erase c:/temp/read.txt

Status

  Ready

Compliance

  This command is CA-Clipper compatible

See Also

- CURDIR()
- FILE()
- FERASE()
- ERASE