Example 1: Loops through all the files of a folder and pass each
filename as parameter to a VBScript that checks the size of the file and prompts the user.
- Select 'Loop for each file in a folder' command from Loop command.
- Specify the path of the folder from where you want to
pass all the files as a parameter to the VBScript
- Call VBScript within the Loop and pass the following System variables as a parameter to the script.
- $CurrentDirectory$\$FileName$.$Extension$
- Save the task.