DOS Batch Files
Here are a couple of example batch files using the CHOICE command, following popular request from a few sufferers from my classes. Click on the batch file name to run or download-and-run-afterwards (depending on your web browser's mood-of-the-day). These are actually text files - change the extension from .txt to .bat to use..
Choicer.bat uses choice.com to create a default yes/no menu option
# Requires choice.com to be in PATH [i.e. \windows\command] or in local directory
Choiceop.bat uses choice.com to output possible choice parameters to screen using the choice
/? switch
# Requires choice.com to be in PATH [i.e. \windows\command] or in local directory
Spoiled for choice Still confused by CHOICE'S choices? Click
here for a more detailed description