DeleteFile

Core function

New in package 162.3

Syntax

DeleteFile( path )

Parameters

Parameter Description
path file path to delete, in local or UNC format.

Return Value

None.

Description

  • Throws an exception if:
    • Path is relative or incomplete.
    • The specified file is not accessible, or is a folder.
    • User does not have enough privileges to delete the file.

Examples

See Also

File, DeleteFolder

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.