Auto press enter

Diy / P5q deluxe
January 14, 2009 at 15:54:40
Specs: Microsoft Windows XP Professional, 3.8GHz / 3326 MB
I am making a bat file to run a series of program after the os is loaded, the bat file contains some selections (1,2,3,4, etc), is there a way to: when i key in 1, it will automatically "Press" the Enter button? which means I don't have to key "Enter" manually....

Thankss!


See More: Auto press enter

Report •


#1
January 15, 2009 at 04:58:07
I asked a similar question a while ago and had no luck!

Report •

#2
January 15, 2009 at 07:34:31
You need the choice.exe command. It doesn't come with Windows XP. You can find it in a few places like Windows 2003 Resource Kit Tools etc.

Report •

#3
January 15, 2009 at 23:13:08
I gave some detailed descriptions to get choice.exe out of a small download at http://www.computing.net/answers/programming/how-to-set-a-default-choice-in-bat/17081.html

As far as I can tell it is still valid, though the microsoft download page is visually different.


Report •

Related Solutions

#4
January 17, 2009 at 08:31:28
Thanks everyone, I will try the last method. The #2's method doesn't work for me...

Report •


Ask Question