Navigating multiple choice

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
pditty8811
Posts: 184
Joined: 21 Feb 2013 15:54

Navigating multiple choice

#1 Post by pditty8811 » 19 Aug 2013 16:08

I know hot to accept input from users, but how does one write the code to navigate with arrows in between multiple choices? Using enter to select.

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: Navigating multiple choice

#2 Post by foxidrive » 19 Aug 2013 17:42

An addon tool or VBS script etc.

Horst Schaeffer has a host of command line tools that are free, look at his site: http://www.horstmuc.de/

penpen
Expert
Posts: 2009
Joined: 23 Jun 2013 06:15
Location: Germany

Re: Navigating multiple choice

#3 Post by penpen » 20 Aug 2013 13:52

You may also do it similar to this:
http://www.dostips.com/forum/viewtopic.php?f=3&t=4768

But instead of using xcopy, to get the input, you may write something like this c#:
http://msdn.microsoft.com/de-de/library/vstudio/471w8d85.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-2

penpen

penpen
Expert
Posts: 2009
Joined: 23 Jun 2013 06:15
Location: Germany

Re: Navigating multiple choice

#4 Post by penpen » 20 Aug 2013 13:53

The C# program should be compiled as shown here:
http://www.dostips.com/forum/viewtopic.php?f=3&t=4762&p=27584&hilit=.NET#p27584

penpen

Post Reply