A Sandcastle Documented Class Library
OSCallOperatingSystemCmd Method |
Execute the operating system command.
Namespace: NSG.Library.Helpers
Assembly: NSG.Library.Helpers (in NSG.Library.Helpers.dll) Version: 1.0.1.17 (1.0.1.17)
Syntax
public static string CallOperatingSystemCmd( string cmdStr, string workingDirectory )
Public Shared Function CallOperatingSystemCmd ( cmdStr As String, workingDirectory As String ) As String
public: static String^ CallOperatingSystemCmd( String^ cmdStr, String^ workingDirectory )
static member CallOperatingSystemCmd : cmdStr : string * workingDirectory : string -> string
Parameters
- cmdStr
- Type: SystemString
The command string to execute in the operating system. - workingDirectory
- Type: SystemString
The base directory to start the OS command.
Return Value
Type: StringString of the output of the command.
See Also