thanks but doesnt work - this is what I get trying it:
C:\Program Files\Agent>command.cgi?oid=1&ot=2&cmd=switchOn
'command.cgi?oid' is not recognized as an internal or external command,
operable program or batch file.
'ot' is not recognized as an internal or external command,
operable program...