• 0

Command Prompt Programs


Question

Does anyone know of any ways to run a command prompt program (such as ipconfig) and return the programs output? I seem to find anything on the internet about it (I'm sure it's out there, somwhere...).

I'm not entirerly sure how it would work, but the end result would be to run a program (with arguments) then have that programs output appear in a text box or something. Am I making any sense?

Any information would be appreciated, thanks

Vlad

Link to comment
https://www.neowin.net/forum/topic/7646-command-prompt-programs/
Share on other sites

5 answers to this question

Recommended Posts

  • 0

argh. I know, it's difficult to explain. Here's an example...

Inside a program, I want to run a command (normally run from a windows console) such as 'net config workstation'. Instead of a command prompt flashing into and out of existance, the output would instead be displayed in a text box in the program.

But it seems like your suggestion may be a much easier solution...thank you =)

Vlad

  • 0
Originally posted by Vlad

argh. I know, it's difficult to explain. Here's an example...

Inside a program, I want to run a command (normally run from a windows console) such as 'net config workstation'. Instead of a command prompt flashing into and out of existance, the output would instead be displayed in a text box in the program.

But it seems like your suggestion may be a much easier solution...thank you =)

Vlad

If u get into Cmd prompt and type ipconfig it stays on screen

if u go to run and type ipconfig it pops up and disapers too quickly for u to see the info

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.