Xbasic

A5_FILE_REMOVE Function

Syntax

Result_Flag as L = a5_file_remove(C filename )

Arguments

filename

The path and name of the file to delete.

Returns

Result_FlagLogical

.T. = Indicates that the file was deleted. .F. = Indicates that the file was not deleted.

Description

Deletes a file.

Discussion

The A5_FILE_REMOVE() function deletes a file.

Example

? a5_file_remove("C:\Databases\Letterissue\Letterissue.zip")
= .T.

See Also