Creates an object that you can use to provide additional property values to a command.
HRESULT CreateCommandInfo( [in] INameValueCollection *envVariables, [in] BSTR workDirectory, [in] BSTR stdin, [out] ICommandInfo **pCommandInfo );
An INameValueCollection interface that contains a collection of environment variables used by the command. If the command does not use additional environment variables, set to null.
The full path to the startup directory for the command. If the command runs in the current directory, set to an empty string.
The full path to the standard input file used by the command. If the command does not use an input file, set to an empty string.
An ICommandInfo interface that defines the property values used by the command.
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities