Running a command under the Windows command prompt

👉This action is only supported in the Windows App  

  This action is very similar to the Run external program action but instead of simply launching a program it runs the command under the Windows command prompt, as if you manually open a command prompt through the Windows start menu and type there. This action is commonly used to call copy, delete and the vast array of available shell commands. It is also useful to enter a batch of commands or call a batch file (.bat). The following example shows a simple use of this action. It calls “copy” to copy the attachment to another PC in the same network that has a network share:

  The example above will only copy the first attached file. If we want to properly save all of them we have to run the command once for every AttachedFileName value. This is done with the loop action: