Share via


IFsrmActionCommand.ExecutablePath Property

 

Retrieves or sets the full path to the executable program or script to run.

This property is read/write.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

string ExecutablePath { get; set; }
property String^ ExecutablePath {
    String^ get();
    void set(String^ value);
}
abstract ExecutablePath : string with get, set
Property ExecutablePath As String

Property Value

Type: System.String

Returns a String that contains the full path to the executable program or script to run. The path can contain environment variables. The string is limited to MAX_PATH characters.

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.

See Also

IFsrmActionCommand Interface
Microsoft.Storage Namespace

Return to top