Hi.
I'm a cat
please patient thanks
But this is not working alwais ok, sometimes there seems to be an unusually longer wait.Code:if "%necessariaMask%"=="1" echo suggest masking antialiasing ON if "%necessariaMask%"=="0" echo suggest masking antialiasing OFF echo. echo Press M for maskinkg ON echo. echo Press N for masking OFF echo. CHOICE /t 1 /d 3 /N /C:MN345 /M "press (M) or (N)" if not errorlevel==3 if errorlevel==2 set "necessariaMask=0" & timeout /t 2 if not errorlevel==2 if errorlevel==1 set "necessariaMask=1" & timeout /t 2 if not errorlevel==1 if errorlevel==0 echo The choice was interrupted (0) if "%necessariaMask%"=="1" echo masking now ON if "%necessariaMask%"=="0" echo masking now OFF
Is there an alternative?
+ Reply to Thread
Results 1 to 2 of 2
-
-
Code:
CHOICE /N /C MN /M "press M or N" if errorlevel==1 ( set "necessariaMask=1" echo masking now ON ) else if errorlevel==1 ( set "necessariaMask=0" echo masking now OFF )
Similar Threads
-
create thumbnail from video file with batch file
By khaled22 in forum Newbie / General discussionsReplies: 8Last Post: 13th Jun 2025, 04:32 -
How to out to a text file from within a FOR loop, batch file
By JN- in forum Newbie / General discussionsReplies: 0Last Post: 13th May 2025, 09:20 -
Batch file for avidemux
By blitzen in forum AudioReplies: 2Last Post: 23rd May 2024, 16:29 -
Batch file for checking errors in mp4 file
By wiseant in forum Video ConversionReplies: 20Last Post: 10th Feb 2023, 23:33 -
batch choice menu with over 10 choices?
By marcorocchini in forum Newbie / General discussionsReplies: 7Last Post: 2nd Feb 2023, 16:11