Share via


IFsrmActionCommand.WorkingDirectory Property

 

Retrieves or sets the working directory in which the executable program will run.

This property is read/write.

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

Syntax

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

Property Value

Type: System.String

A String that contains the working directory in which the executable program will run. The string is limited to MAX_PATH characters.

Remarks

The path can contain environment variables.

The path must exist when you set the property or the command executes. If the path does not exist when the command executes, FSRM writes an event to the Application log.

See Also

IFsrmActionCommand Interface
Microsoft.Storage Namespace

Return to top