Steven W, 2022-04-10 05:01 »
Was looking into a semi-timer on XP. This sorta sucks, CHOICE, SLEEP and TIMEOUT are not included by default. I'm toying with the idea of using a counter:
pseudo script:
set x=0
:CNTPL:
set /a x+=1
if %x% EQU 9500 GOTO :WHATEVS:
GOTO :CNTPL:
I don't need something really precise, ideally just pause between 3-5 seconds. Counting to 9500 takes approximately 5 seconds on my current test machine. What all would affect that? CPU speed? Cores/Multiple Processorers?
Was looking into a semi-timer on XP. This sorta sucks, CHOICE, SLEEP and TIMEOUT are not included [i]by default[/i]. I'm toying with the idea of using a counter:
pseudo script:
set x=0
:CNTPL:
set /a x+=1
if %x% EQU 9500 GOTO :WHATEVS:
GOTO :CNTPL:
I don't need something really precise, ideally just pause between 3-5 seconds. Counting to 9500 takes [i]approximately [/i] 5 seconds on my current test machine. What all would affect that? CPU speed? Cores/Multiple Processorers?