+ Reply to Thread
Results 1 to 3 of 3

telnet without sendkeys

  1. #1

    telnet without sendkeys

    hi
    i wish to telnet to a unix server, execute some commands and get the
    results onto excel range. I have tried opening telnet application using
    sendkeys but its not what i want. Any other ways or some Active X
    controls that might let me do this task?
    thanks


  2. #2
    keepITcool
    Guest

    Re: telnet without sendkeys

    either get yourself an windows based telnet client that supports
    automation... just find some shareware you like.

    OR..use batchfile approach:

    eg.
    excel creates batchfile.
    excel starts batchfile

    batchfile start telnet
    telnet create a results/logfile
    batchfile create done.txt

    excel waiting for done.txt in delayed loop
    then process the resultsfile.



    --
    keepITcool
    | www.XLsupport.com | keepITcool chello nl | amsterdam


    [email protected] wrote :

    > hi
    > i wish to telnet to a unix server, execute some commands and get the
    > results onto excel range. I have tried opening telnet application
    > using sendkeys but its not what i want. Any other ways or some Active
    > X controls that might let me do this task?
    > thanks


  3. #3
    K Dales
    Guest

    RE: telnet without sendkeys

    You can possibly use the Windows API to control Telnet - there are commands
    to activate windows and to access the menus, etc. but it would take quite a
    bit of advanced programming to get it to work. For more information you can
    refer here:
    http://msdn.microsoft.com/library/de...y_category.asp

    "[email protected]" wrote:

    > hi
    > i wish to telnet to a unix server, execute some commands and get the
    > results onto excel range. I have tried opening telnet application using
    > sendkeys but its not what i want. Any other ways or some Active X
    > controls that might let me do this task?
    > thanks
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1