Foreach [ File ]Enumerates all files in the specified directory. The command can contain other commands that will be executed for the each file. Description Optionally, you may add comments here describing the purpose of this element.
Directory name Specify the full name of the directory where you want to enumerate all files.
Filename or wildcard Specify a wildcard of files that you would like to enumerate.
*.txt
Ignore Wildcards You can exclude files from the search by separating their names or wildcards with a comma.
myfile.*, a???.txt, *.txt
Variable name The name of the variable whose value will be equal the current file's name.
curfile The variable [varname]full equals the full name of the current file. You can use these variables in inner commands. |