No need for an external.
@echo off
title Choice example
cls
echo.
:get_choice
set /p choice="Enter your choice (a,b,c,d, or e): "
if /I "%choice%" == "a" goto :process_A
if /I "%choice%" == "B" goto :process_B
if /I "%choice%" == "c" goto :process_C
if /I "%choice%" == "d" goto :process_D
if /I "%choice%" == "e" goto :process_E
..
Main Topics
Browse All Topics





by: haoaPosted on 2005-11-16 at 03:34:39ID: 15302364
You need choice.exe which don't come with an XP installasion. You can find on the net.
echnet/pro dtechnol/ w indowsserv er2003/lib rary/Serve rHelp/b27f 9a43-de23- 4e6c-91cd- f62476c0e1 59.mspx
If you know a little something about batch'ing then it's a simple deal ;)
for help with choice.exe
http://www.microsoft.com/t