Click to See Complete Forum and Search --> : User Interface for command-line tools


ictms-erik
September 20th, 2005, 03:26 PM
I would like to wrap some commandline tools into a User Interface and have the output send to a messagebox within the application, a text file or database. It should be possible to pass parameters to the CLI tool.

As an example I would like to wrap windows commands as nslookup, ping, tracert etc.

As a dev beginner I would have suspected this to be simple, but I can't figure out how to do this.

Does anyone know of any useable samples?

boudino
September 21st, 2005, 01:02 AM
You can send output of the command line tool to a file. After the job of the tool is done, read the file and display its content.

ictms-erik
September 21st, 2005, 02:51 AM
I agree that's one way of doing it. But I would like a sample on how to start the commandline executable from the code