IFsrmActionCommand::put_WorkingDirectory 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 working directory in which the executable program will run.

This property is read/write.

Syntax

HRESULT put_WorkingDirectory(
  BSTR workingDirectory
);

Parameters

workingDirectory

Return value

None

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.

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

See also

IFsrmActionCommand

MSFT_FSRMAction

MSFT_FSRMFMJAction

MSFT_FSRMFMJNotificationAction