shell command using telnet 
Author Message
 shell command using telnet

Don't hassle with this "sendkeys"-style programming !
Telnet isn't really the way to got.
Look for another protocol called "reexec" (remote execute) and/or "rsh"
(remote shell), which
are special things for just executing command(s) on other Hosts.
Depending on what you are trying to do, have a look at the several upcoming
internet controls ...

Ciao,
Axel



Quote:
> hello!

>    I am having some problems, maybe you all could help me with it. I use
> the shell command to open up a telnet shell which I telnet to a  remote
> server and execute a program.

> 1. is there a better way to go to a remote server and execute a command?
> 2. if not then is there a better way then using shell command?

> MY PROBLEM:

> since I am using a shell command, what i have put on the command line
> i.e. login: yackyoo
>                                                                       password: yearight

> the shell lets me put in 'yackyoo' and 'yearight' but if the window is
> NOT active then it will right those 2 words to what ever window i am
> currently on.  That is bad.  is there a way to circumvent that?
> ideally i would like to not have the telnet window open, but just send
> it straight to that port. can vb do that?

> if not, and nobody knows the solution to my problem. then i would like
> to lock the screen so no input can be put into it as soon as the telnet
> window is opend.  this way who ever is on the machine this is running on
> won't be able to switch windows when the shell command is giving its
> data. but as soon as the telnet command is done, then i would like to be
> able to have the screen unlock.

> what i was thinking, was use VC++ to do the screen locking, and just
> call that .exe from VB, but i would LIKE to do it in VB, but if there is
> not a way in VB then could you please tell me how to do it in VC++

> thank you.

> Seth Broomer



Mon, 08 Nov 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Using Scripting.Shell Exec command to capture the results of a SFTP ls command

2. Using the SHELL command - Help required please

3. Resizing Windows Desktop using shell command

4. Using the Shell command in Access 2.0

5. Using shell command

6. Running a batch file using Shell command

7. Using variable command with Shell function

8. This can be done by using the Visual Basic Shell command

9. Problem executing DOS command using Shell function

10. Opening Files w/o using the shell command

11. Returning a value from a program that is running using the Shell command

12. Mulitple windows using shell command

 

 
Powered by phpBB® Forum Software