Click or drag to resize

CommandLine Methods

The CommandLine type exposes the following members.

Methods
  NameDescription
Public methodStatic memberEscapeArgument
Escapes an argument string for the Windows CMD interpreter. If the string contains special cahracters or white space, it is quoted.
Public methodStatic memberFormatArgumentList

Creates a string with mutlitple command line arguments, compatible with the Windows CMD interpreter.

All characters of the given strings are preserved and if necessary escaped.

Public methodStatic memberCode exampleSubstituteArgument
Given a string, containing batch style placeholders for environment variables and numbered parameters, the placeholders are replaced by the referred parameter values.
Public methodStatic memberCode exampleSubstituteArgumentList
Given an array of strings, containing batch style placeholders for environment variables and numbered parameters, the placeholders are replaced by the referred parameter values.
Top
See Also