File - Delete

Deletes files from the local system.

Action ID:
Action Category:
Action List Syntax:

26
File 
File.Delete (<<FILENAME>>)

Settings

Location

Source:

The path and filename of the file (or files) to delete.  You can use the "*" and "?" wildcards in this field.

Options

Recurse subdirectories

If checked, the delete command will recurse through subdirectories when a wildcard is used in the Source field.

Continue deleting files even if one or more fail

If checked, the delete operation will continue even if some files fail to be deleted. If unchecked, the delete operation will stop as soon as the first error occurs.

Delete hidden and system files

If checked, files with the "hidden" or "system" attributes set will be deleted. If unchecked, hidden and system files will not be deleted.

Dialog

Dialog title:

This will be used as the title when "Deleting files" dialog is displayed.

Dialog text:

This is the text that will appear on the "Deleting files" dialog.

Error Codes

Value
(%LastErrorNum%)

Simple Message
(%LastErrorMsg%)

Verbose Message
(%LastErrorDetails%)

0 (OK)

 

 

1

MSG_ERR_DELETE_FILE

MSG_ERR_DELETE_FILE
MSG_ERR_INVALID_SOURCE
<<SOURCE>>

2

MSG_ERR_DELETE_FILE

MSG_ERR_DELETE_FILE
MSG_ERR_NODELETE_ONEORMORE
Operating System Error

Examples

None