|
Answer» Hi All,
Here is my question, we need to run an exe command called "scc add 192.29.193.19". When ever we run the command it will ask the following confirmation message from the user as shown below
Please type "yes" to approve:
Then user will type yes to run the command successfully. Since we want to AUTOMATE the process, is there a way in DOS command to type the word "yes" by itself INSTEAD of expecting user to type the letter.
Any help is greatly appreciated
Thanks KarthikIs that "yes" or "YES" or doesn't it matter?
And should ENTER be pressed?
And what does scc.exe do? (May be easier to write a substitute program)
Could try
echo yes < scc.exe add ...
You are right, After I execute the scc command with the IP Address it creates a site information in VPN for the specified IP address.
All we need to do is type "yes" and press enter then it gives message "Site successfully CREATED"
I want to automate typing "yes" and press enter button.
How can I do thatQuote from: karthiksp on October 09, 2007, 07:17:39 AM I want to automate typing "yes" and press enter button.
How can I do that
I wrote before... (Did you read it?)
QuoteCould try
echo yes < scc.exe add ...
|