ProcessCommandLine Property

DTS Programming

DTS Programming

ProcessCommandLine Property

The ProcessCommandLine property specifies the universal naming convention (UNC) file name of the file to execute and any command prompt arguments.

Applies To
CreateProcessTask Object CreateProcessTask2 Object
Syntax

object.ProcessCommandLine [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Process command prompt arguments

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetProcessCommandLine(BSTR *pRetVal);

HRESULT SetProcessCommandLine(BSTR NewValue);

Remarks

The command line parameters can include environment variables. The GetExpandedProcessCommandLine method returns the command line with the environment variables substituted with their values.

See Also

GetExpandedProcessCommandLine Method