Action Connector to execute Python script

Hello,

I am trying to use the Action Connector to send a command that will execute a python script located in a folder in C:\ ( right click -> execute command -> Counter ACT )
this python script takes two arguments H and k that i'll put in the properties file
Any idea how this is done ? 
when I put 
command[0].action=C:\\scripts\\<scriptname>.py -H ${hash} -k ${key}
when executed in arcsight I get an error

Any help on how to call a python script with the Action Connector is appreciated.