Search notes:

choice.exe

choice.exe allow a cmd.exe batch file to present a list of options from which a user can choose from.
The number of the chosen item is then stored in %errorlevel% and different actions can be taken using an if statement.
choice /c rgb /M "Choose [r]ed, [g]reen or [b]lue"

if %errorlevel% equ 1 (
   echo Tomato
) else if %errorlevel% equ 2 (
   echo Peas
) else (
   echo Grapes
)
Github repository about-cmd.exe, path: /batch-files/choose.bat

See also

The /t option is also used in timout.exe for time out.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1759864377, '216.73.216.10', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/dirs/Windows/System32/choice_exe(52): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78