FileDelete(FileName)

Deletes a file.

Parameters:

FileName The name of the file that should be deleted

Remarks:

If FileName does not exist or the user has no permissions to delete it, an error occurs.

Example:

Call FileDelete("C:\WINDOWS\FONT.BAK")