The ScriptFileDirectory property specifies the directory to which the script file and log files are written.
object.ScriptFileDirectory[= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| value | Directory to which the script file and log files are written |
String
Read/write
HRESULT GetScriptFileDirectory(BSTR *pRetVal);
HRESULT SetScriptFileDirectory(BSTR NewValue);
The script file directory must exist on the computer on which the task runs.