Computing.Net > Forums > Programming > Auto press enter

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Auto press enter

Reply to Message Icon

Name: chluk2425
Date: January 14, 2009 at 15:54:40 Pacific
OS: Microsoft Windows XP Professional
CPU/Ram: 3.8GHz / 3326 MB
Product: Diy / P5q deluxe
Subcategory: Batch
Comment:

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!



Sponsored Link
Ads by Google

Response Number 1
Name: lee123abc
Date: January 15, 2009 at 04:58:07 Pacific
Reply:

I asked a similar question a while ago and had no luck!


0

Response Number 2
Name: klint
Date: January 15, 2009 at 07:34:31 Pacific
Reply:

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.


0

Response Number 3
Name: Judago
Date: January 15, 2009 at 23:13:08 Pacific
Reply:

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.


0

Response Number 4
Name: chluk2425
Date: January 17, 2009 at 08:31:28 Pacific
Reply:

Thanks everyone, I will try the last method. The #2's method doesn't work for me...


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Auto press enter

make it not quit when press enter? www.computing.net/answers/programming/make-it-not-quit-when-press-enter/9183.html

pressing enter www.computing.net/answers/programming/pressing-enter/2482.html

HTML: Tabindex default to Enter key www.computing.net/answers/programming/html-tabindex-default-to-enter-key/10092.html