DeleteFiles
DeleteFiles
Deletes one or more files. Wildcard characters (* and ?) may be used.
Properties
SourceDirectory
Type: System.String
Specifies, through the 'Browse for Folder' dialog, a folder containing files to be deleted.
IncludeSubDirectories
Type: System.Object
Specifies (True or False) whether to search sub-folders for matching files to delete. You can also bind this parameter to a conditional.
FileName
Type: System.String
Specifies the pattern to match on file names. Wildcard characters (* and ?) may be used. Use a colon (
to separate file names.
StopDeleteOnException
Type: System.Object
Specifies (True or False) whether to stop deleting files when any condition causes a file deletion to fail. You can also bind this parameter to a conditional.
DeleteReadOnlyFiles
Type: System.Object
Specifis (True or False) whether to delete read-only files as well. You can also bind this parameter to a conditional.
Int32Output
Type: System.Int32
Contains the number of files that were deleted. This is a read-only output parameter.
Add Comment