- Jan
- 922
- 19
Hi
TCC crashes here EACH time when I answer INKEY with <Crtl>+C ...
My code:
PS: Microsoft Windows 10 Pro x64 [18363.752] [1909] TCC 26.00.26 x64
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