|
-
Nov 8th, 2004, 11:03 PM
#1
Thread Starter
Lively Member
keep cmd in focus
Hi All,
I'm executing a Shell() command to open a cmd terminal execute a file with arguments to login to a server. Now that works all fine. The problem arises when I try to send subsequent commands to the open connection because the cmd terminal closes as soon as the command is executed...
so, in a typical cmd terminal box, I would execute the login command, as soon as it connects, it feeds a line and expects commands to be thrown at it.. it's kindof like a socket connection except it's got some funny login handling, which is why i'm not using winsock1.
so is there a way I can keep the focus to the cmd prompt open, so that I can feed it commands after the initial login connection??
thanks a lot
Mike
Last edited by mikepol; Nov 17th, 2004 at 06:21 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|