|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Wait function
Hello
I'm 13 years old but i know VERY much of MS-DOS But i have a question How can i make a Wait function in ms-dos @echo off cls echo Hello Wait 1sec exit Or something like that... |
|
#2
|
|||
|
|||
|
Got your answer ^_^
Well, basically the version of DOS on XP doesn't have a 'wait function'
However... You can cheat by using this code: Code:
ping -n time 127.0.0.1 >NUL Ex. ping -n 10 127.0.0.1 >NUL = Waits ten seconds! Pros: Works great and you can add it anywhere and it'll work great! Cons: Can somtimes create a NUL File, blank, useless, and can just be deleted later. Hope that helped -Myworldplz |
![]() |
| Viewing: Web Development Archives > FAQs > MS DOS > Wait function |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|