pc:DeleteFile

Previous Next

Deletes a file from the file system.

Syntax

<pc:DeleteFile source=file-path />

The required source is a filepath identifying the file to be deleted.

 

Example

<pc:DeleteFile source="{path:Combine($mydir, 'old.xml')}" />