It did not worked for me.
Here is my settings
Task Name: Generate Firewall Reports
Task Type: Execute System Command
Server name: servername.domainname.com
Executable Path: C:\WINDOWS\system32\CopyDirectory.exe
Executable Parameters: p:\ D:\Production\XXXX\firewallreports.xxxxx.com\wwwroot monitor@xxxxx.com
CopyDirectory.exe located on server that I am trying to run command on.
If you want I can post my code it very simple.