Running a command under Windows command prompt
This automated process is very similar to the Run external program automated process but instead of simply launching a program it runs what you enter under the “Shell command” field under the Windows command prompt. This allows you 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 automated process. It calls “copy” to copy the file attachment received in the email to another PC through the local network:
PDF attachment is saved to a local folder and then copied through the network with a windows command prompt automated process
The example above can be extended a little more. We can add an Iterator automated process to perform a given automated process for each received attachment. And instead of simply copying the attachment to only one server we distribute it to two servers of the network:
Every PDF attachment is saved to a local folder and then copied through the network to two locations with a windows command prompt automated process