怎么让下面的代码加上一个对话框在时间内给出正确答案就停止运行打错就无反映或立即将计时归零
@echo off
setlocal enabledelayedexpansion
title ***********标题**********
mode con: cols=50 lines=20
color 1f
set man=2
set /a all=%man%*60
set /a man2=%man%-1
:time
cls
@echo
@echo
@echo 纠结纠结纠结纠结
@echo
@echo
@echo
@echo
@echo
@echo
@echo
@echo
@echo
set /a h+=1
set /a time1=%all%-%h%
set /a j+=1
set /a time2=60-%j%
set "c=257abcdef"
set /a d=%random%%%8+1
color 1!c:~%d%,1!
@echo 还有%man2%分钟%time2%秒内将锁定
pi ng -n 2 127.0.0.1 >nul
if %time2% equ 0 (set /a j=1)
if %time2% equ 0 (set /a man2=%man2%-1)
if %time1%=="0" goto b
if %time1% gtr 0 goto time
请各位大大指教.....