Delete File

Delete a file with the given path.

This object is designed to work with local files only, and not with files located on network shares.



Input Parameters

Name Type Required Description
File Name String Yes The full path of the file to be deleted.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
File Name String Yes C:\folder1\folder2\file1.txt