Is it possible to add parameters to run rules?

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) :( :o :shock: :? :cool: :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: (wave) :ok: (nod)
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Is it possible to add parameters to run rules?

Re: Is it possible to add parameters to run rules?

Post by Patrick » 29.01.2013 17:06:00

Ok, then use VBScript rather than a batch file. Put this into a .vbs file:

Code: Select all

Set sh = CreateObject("WScript.Shell")
sh.Run "pskill ipmgui", 0

Re: Is it possible to add parameters to run rules?

Post by thorstenk » 29.01.2013 14:33:23

Works - although I have now a shortly flickering cmd window on my screen.

Re: Is it possible to add parameters to run rules?

Post by Patrick » 29.01.2013 13:41:05

:dex:

You're right, the "Run" action for rules apparently doesn't handle parameters. Anyway, just put the command into a batch file and run that instead.

Is it possible to add parameters to run rules?

Post by thorstenk » 29.01.2013 12:38:21

Hello,

I would like to run "pskill ipmgui" when ipmgui.exe runs. That does not work when I create a rule in dexpot. It looks to me as if the rule does not allow to specify that ipmgui is a command line argument to pskill. Is that correct and is there any other way to reach my goal?

Top