The ScriptFileDirectory property specifies the directory to which the script file and log files are written.
| TransferObjectsTask Object |
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 |
The script file directory must exist on the computer on which the task runs.
String
Read/write
HRESULT GetScriptFileDirectory(BSTR *pRetVal);
HRESULT SetScriptFileDirectory(BSTR NewValue);
| ScriptOption Property | ScriptOptionEx Property |