Wait file .bat

Hi!

How can I wait seconds with file .bat?

Thanks
put this in the bat file:
timeout /T X where X is the number of seconds you want to wait.
Hi!

I'm using MS_DOS...
There isnĀ“t command "timeout..."

Could you have another idea?

Thanks...
Is there command Sleep?

If not, ping something that doesn't exist with a timeout equal to the number of seconds you want to wait.
Then stick this in there:
1
2
3
:sleep
ping 127.0.0.1 -n 2 -w 1000 > NUL
ping 127.0.0.1 -n %1 -w 1000 > NUL


Then call it with this:
CALL :sleep 1
Topic archived. No new replies allowed.