Windows Command Line Library

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • sside
    New Member
    • Dec 2003
    • 475

    Windows Command Line Library

    Hi there folks

    Saw few threads here about command line and decided to make my own contribution.

    Windows Command Line Library (WinCmd.dll) will redirect the input, output, error output at your application. Or with other words you can run commands from your application and get the response too (error response as well).

    For example, if you run the netstat command in command prompt you will get the response in you application.

    WinCmdStart // Start.
    WinCmdInput // Input the command.
    WinCmdOutput // Get the response.
    WinCmdError // Get error response.
    GetError // Get any error may occur. This will not catch the error output.

    To run a command WinCmdStart and WinCmdInput are required, the rest is optional if you're not interested in output.

    Here you can download ams5 project.
    Here you can download the compressed exe to see what it does.

    A few commands: netstat, ipconfig, systeminfo.

    For a list of command lines visit this page.

    .NET 2.0 required.

    With Kind Regards

    sside
Working...
X