Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2008
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    put values from Batch to an another program

    Is it possible to create a batch file to put values into an another aplication???
    For example, I would like that my Batch file open an aplication (putty.exe)
    and insert values to this.

    I have this:

    putty 10.10.10.10


    how can i insert the user and the password and values?

    thanks!

  • #2
    Regular Coder brad211987's Avatar
    Join Date
    Sep 2005
    Location
    Ohio
    Posts
    631
    Thanks
    10
    Thanked 50 Times in 50 Posts
    I believe your target application would have to support the command line arguments that you wish to specify. For putty, look up the documentation to see what options they support when calling the executable on the command line.


  •  

    Posting Permissions

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