Quote:

The %comspec% part in the code below will open a new cmd window where your command will be executed.




It won't you know (unless you are using wkix32).

You need the magic "start" keyword to start a new console window:
Code:
Shell '"'+%COMSPEC%+'" /C start PING -t 10.10.10.10'