The ProcessCommandLine property specifies the universal naming convention (UNC) file name of the file to execute and any command prompt arguments.
object.ProcessCommandLine [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | Process command prompt arguments |
String
Read/write
HRESULT GetProcessCommandLine(BSTR *pRetVal);
HRESULT SetProcessCommandLine(BSTR NewValue);
The command line parameters can include environment variables. The GetExpandedProcessCommandLine method returns the command line with the environment variables substituted with their values.