새로운 일괄 스크립팅. 나는 window xp를 사용하고 있기 때문에 choice.exe를 사용하지 않고 시간에 맞춘 프롬프트를 작성하는 방법이 있는지 궁금합니다.batch.exe xptim prompt without choice.exe
@echo off
/set p answer=input y or n in 30 seconds
rem start timer
if answer==y(
goto :action1
)
if answer==n(
goto action2
)
rem if timer has expired without input go to :action1
:action 1
echo you have entered y
:action 2
echo you have entered n
힌트를 보내 주셔서 감사합니다.