Please enable JavaScript to view this site.

ESL Documentation

FILEIO Subroutine

Delete a file.

 

call DeleteFile(FilePath_SV)

Parameters

FilePath_SV

A string containing the path and name of the file to be deleted.

Description

The routine deletes the specified file.

Errors

FIO_E_BADFILENAME

The file does not exist.

FIO_E_INVALIDPATH

The path to file does not exist.

FIO_E_ACCESSDENIED

The system has prevented the file from being deleted.

FIO_E_NAMEERROR

The syntax of the file name or path is not valid.

FIO_E_INVALIDNAME

Attempt to delete a directory.

See Also

RemoveDirectory( ) subroutine.