Files

Takes 5 parameters, FieldBase, Destination, Action, Source, IfLenFld

Description:

The Files Work Query command will allow for all the basic, and some more advanced file manipulation to be performed in bulk using data from the Work Query.

See the File command for a list of available actions.

Usage:

FieldBase, Destination, Action, Source, IfLenFld
[WorkWith], Destination, Action, Source, IfLenFld
[WorkWith], Destination, Action, Source, [""]
[WorkWith], Target, Action, [""], [""]
FieldBase, Destination, Action, Source, [WorkIf]
[WorkWith], Destination, Action, Source, [WorkIf]
[WorkWith], Target, Action, [""], [WorkIf]

Example:

Delete all png files in a folder

ListFiles   pFolder, "*.png", ""
Files       "Name", "Delete"