See also:
Running an external program
Running a PowerShell script

This action is similar to the Run External Program action, but instead of launching an executable directly, it passes the command to the Windows command prompt (cmd.exe). This gives you access to all built-in Windows shell commands such as copy, move, rename, del, and many others, as well as the ability to run batch files (.bat). As with other actions, you can use field placeholders in the command (such as <%From%> or <%filename%>) and Email Parser will replace them with the actual values extracted from the email before executing the command.
A common use case is file manipulation: for example, after an email attachment has been saved to a folder, you can use this action to rename it, move it to a different location, or delete a temporary file. The output of the command is captured and shown in the output window, as shown below.
