| View previous topic :: View next topic |
| Author |
Message |
DW Contributor

Joined: 21 Mar 2003 Posts: 175 Location: UK
|
Posted: Fri Mar 21, 2003 5:00 pm Post subject: getting info from DOS windows |
|
|
Hi,
I'm sorry to keep asking all these questions, I'm just learning VDS and I want to make sure I can really use it before I get it.
How can I get the output of a command line app from a dos window? |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Fri Mar 21, 2003 5:04 pm Post subject: |
|
|
Try this:
| Code: | | command /C programtoopen.exe > outputfile.txt,WAIT |
I don't know how your VDS skill is, but you can load it into VDS with the LIST LOADFILE command. |
|
| Back to top |
|
 |
DW Contributor

Joined: 21 Mar 2003 Posts: 175 Location: UK
|
Posted: Fri Mar 21, 2003 5:14 pm Post subject: |
|
|
My VDS skill is not very high I admit, I have been learning for about 3 days now, so I only know some basic things.
That wont let me send things to it will it?
Maybe it will be easier if I tell you want i am doing. I am trying to make a GUI for MySQL. I though I could use the command line mysql monitor and send commands from VDS, but I need to know what its showing on the screen in VDS too. |
|
| Back to top |
|
 |
ACE Valued Newbie

Joined: 05 Sep 2002 Posts: 34
|
Posted: Fri Mar 21, 2003 5:57 pm Post subject: |
|
|
You can use the command (console) dll, i think its called VDScmd or some, look fo it in the download sections, in the search look for "command" or "console", i think its free and very good. If i remember it was made by PGWARE (what a great vds addon maker)
With this you can get all the info you need from console applications, send commands and retrieve the result strings, so you can use this with hidden console applications and communicate with them.
Lioric |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Fri Mar 21, 2003 6:48 pm Post subject: |
|
|
| If it's for MySQL, you might try Tommy Sools his VDSDLL3. That one can connect to a MySQL database. |
|
| Back to top |
|
 |
DW Contributor

Joined: 21 Mar 2003 Posts: 175 Location: UK
|
Posted: Fri Mar 21, 2003 6:59 pm Post subject: |
|
|
| Thank you I will look into both those options. |
|
| Back to top |
|
 |
|