DELETE_FILE

  

DEVELOPER

 

 

Purpose
 

DELETE_FILE deletes a file.

Syntax
 

DELETE_FILE(<filepath>)

Operation

<filepath> Full path to the file

Remarks

Returns:

1 - File deleted

-1 - File cannot be deleted

A file can only be deleted if it has read/write permissions on it. Only the platform operating system protects a shared file from being deleted.

Example

#RC = DELETE_FILE("C:\Program Files\Zellis\Exports\example.seq")

Error codes are returned to the caller.

Comment on this topic

Topic ID: 520197