Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

interact with command line tool

Status
Not open for further replies.

Aswin01

IS-IT--Management
Jun 17, 2003
29
BE
Hi,

I would like to execute some dos tools ( like ping.exe )
how can I get the results of the command ping ?

How can I execute more lines in the same 'hidden' command window? like mysql -h localhost -u root -p
--> it asks now for a paswoord...
--> use <databasename>
--> show tables

-> all in the same command window

How can I do this?

Mysql.exe is just an example.. but I would like to use other simular tools

Copy-pasten is voor mietjes, overtippen is voor de 'die-hards' !
 
Look at the Miscrosft TechNet Script Center. It will teach you how to use windows scripting to do just what you want.


Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top