
Use the ICISite interface AssignEventRuleCustomCommandWorkingFolder method to update all instances of a given custom command in the event rule list to use a specified working folder.
|
This method is available in EFT Server 4.3.4 and later. |
Signature:
HRESULT AssignEventRuleCustomCommandWorkingFolder (
[in] BSTR bstrCustomCommandName,
[in] BSTR bstrWorkingFolder);
Example:
Dim strCommandName: strCommandName = "RunScript"
Dim strNewWorkingFolder: strNewWorkingFolder = "C:\Script\folder"
oSite.AssignEventRuleCustomCommandWorkingFolder(strCommandName, strNewWorkingFolder)