Run Script - Examples                            How to use?

 

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.

  1. Select 'Loop for each file in a folder' command from Loop command.
  2. Specify the path of the folder from where you want to pass all the files as a parameter to the VBScript
  3. Call VBScript within the Loop and pass the following System variables as a parameter to the script.
  4. $CurrentDirectory$\$FileName$.$Extension$
  5. Save the task.