im new to batch scripting. I was wondering if there was a way to write a timed prompt without using choice.exe because I'm using windows xp. Something along the lines of:
@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
Thank you for the hints.