Use the ICICommandSettings interface Executable property to retrieve or change the path to a custom command's executable program. Refer to Command Settings Interface Properties for an illustration of how this and other ICICommandSettings can be accessed in the Administrator interface.
Signature:
HRESULT Executable([out, retval] BSTR *pVal);
HRESULT Executable([in] BSTR newVal);