Fixed [v26.00.26] Crash after answering INKEY with <Ctrl>+C

Jan 12, 2014
386
7
Switzerland, SO
Hi

TCC crashes here EACH time when I answer INKEY with <Crtl>+C ...

My code:
Code:
@echo off

rem EJECTMEDIA with question for the drive letter

:AskForDrive
set askfordrive=
echo.
inkey /c /k"hijklmnopqrstuvwxyz9" Welches Laufwerk soll sicher ausgeworfen werden (i-z, 9 = Abbrechen)?  %%askfordrive
iff "%askfordrive" == "9" then
  goto End
endiff
rem echo %askfordrive
ejectmedia %askfordrive

:End
unset askfordrive
PS: Microsoft Windows 10 Pro x64 [18363.752] [1909] TCC 26.00.26 x64