IFsrmActionCommand::put_ExecutablePath method (fsrm.h)
[This property is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMAction, MSFT_FSRMFMJAction, and MSFT_FSRMFMJNotificationAction classes.]
Retrieves or sets the full path to the executable program or script to run.
This property is read/write.
Syntax
HRESULT put_ExecutablePath(
BSTR executablePath
);
Parameters
executablePath
Return value
None
Remarks
The path must exist at the time you set the property and when the command executes. If the path does not exist when the command executes, FSRM writes an event to the Application log.
To execute the command, the user that configured the action must exist in the Administrators group at the time the command is executed.
Only administrators can have write access to all folders in the path at the time you set the property and when the command executes. If others have write access when the command executes, FSRM does not execute the command and writes an event to the Application log.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | fsrm.h (include FsrmQuota.h, FsrmScreen.h) |
DLL | SrmSvc.dll |