Link to home
Start Free TrialLog in
Avatar of dosth
dosthFlag for India

asked on

How to send key storke in batch file

Hi Gurus

cd\
cd WINNT\Microsoft.NET\Framework\v1.1.4322\
caspol -ag 1. -Zone Intranet FullTrust

i m having this script in batch file. when i run it do some process and ask me to input y/n

any way to send y "yes" automaically so it wont stop the batch files

Thanks
Dosth
ASKER CERTIFIED SOLUTION
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dosth

ASKER

i would like to give 10 points to leew also

how can i do that

thanks
dosth
Avatar of omniru
omniru

May be this FAQ entry can be helpful:

https://www.experts-exchange.com/help.jsp#hi69

Although it says it's impossible to assign less than 20 points.
You should read the help file.

The first person who provides the answer should be awarded the points.  In cases when you want to split the points, no person can get less than 20 points.  If you wanted to accept both of our answers, you would have had to increase the point value on the question.

If you like I can reopen the question and you can then increase the value and split the points.  Otherwise, I'll let this pass as it was only 20 points, but understand, many people volunteer their time here to help you - your awarding of points is the primary way of thanking them.  People who don't appropriate award points may cause some experts to stop answering your questions because they don't feel you're going to grade properly.

At the very least, you should explain in any question why you selected the answer you did, to be fair to the others who participated.
Avatar of dosth

ASKER

hey

i can increase point :)

please open

thanks
dosth
Avatar of dosth

ASKER

did mistake

i am new, not sure how i can hive 20 - 20 for both
you can use -q on the caspol command line to go "quiet" without user interaction required.  Don't know if this is a new option or not but it's available with the .NET 2 caspol.

eg
caspol -q .....