''Delete'' Function

Top  Previous  Next

Deletes a file or directory.

Caution! The directories are deleted with all its content.

Syntax

Delete(file-or-directory-name)

 

Parameters

file-or-directory-name

The name of the file or directory to be deleted.
 

See Absolute or Relative Names.

Note:
If the delete is not completelly successful the completition code is set to 4.

Examples:

Delete(FULLNAME)

Delete('c:\temp\documents')