Solved [Batch] Up Down Menu in Batch

April 3, 2012 at 02:42:26
Specs: Windows Vista home premium sp 2
How do i get batch to detect up or down arrow keys
it can be done via choice or something but it has to be something that comes with windows(vista or earlier)
I only want the others as a last resort so explore other possibility's first thanks

Mattzz


See More: [Batch] Up Down Menu in Batch

Report •

✔ Best Answer
April 3, 2012 at 03:42:45
Maybe. I'm pretty sure most of them don't actively hunt down whatever program you reference and add those programs to your executable. Even if they did, Windows components might version check, or try to use something only available in the version they came with.

EDIT: I forgot to mention, but those extended character sequences don't really apply past DOS.

How To Ask Questions The Smart Way



#1
April 3, 2012 at 03:01:24
BTW on here it says this:
Using CHOICE with special keys

Example: CHOICE /n/s/c:qQ Hit the [Page Down] key or press [q] to quit:

The following is the list of those special keys:

27 [Esc] 08 [Back Space]

R [Insert] G [Home] I [Page Up]
S [Delete] O [End] Q [Page Down]

H [UP Arrow]
K [Left Arrow] P [Down Arrow] M [Right Arrow]

; [F1] = [F3]
? [F5] @ [F6] A [F7] B [F8]
C [F9] D [F10] 133 [F11] 134 [F12]

Note: The numbers; 27, 08, 133 and 134 are ASCII values.

how do i do that if it works?


Report •

#2
April 3, 2012 at 03:23:32
Beware choice command is not present in Windows XP while part of all others Windows releases.

Report •

#3
April 3, 2012 at 03:35:08
Beware I'm pretty sure if you use a bat to exe compiler and you include choice it will work :)
so this is NOT a problem

Report •

Related Solutions

#4
April 3, 2012 at 03:42:45
✔ Best Answer
Maybe. I'm pretty sure most of them don't actively hunt down whatever program you reference and add those programs to your executable. Even if they did, Windows components might version check, or try to use something only available in the version they came with.

EDIT: I forgot to mention, but those extended character sequences don't really apply past DOS.

How To Ask Questions The Smart Way


Report •

#5
April 3, 2012 at 06:34:30
damn, kk.
I already made it with W and S and E to select
looks really awesome and I made it all myself :)
gonna make sure it does all work on whatever version of windows

Report •

Ask Question