Can I do something like
Code: Select all
@echo off
set "errorlevel=0"
choice /c yn /t 10
if "%errorlevel%"=="1" goto yes
if "%errorlevel%"=="2" goto no
goto maybe
I know I can simply add an extra option and set it as predetermined like
Code: Select all
choice /c ynm /t 10 /d m
Is there anything that I can do to simulate what I want? Like an unchoosable option or something similar?
Thanks.
(Not native English speaker)
- dubcusb