|I've never liked using ping for delays, if just because relying on the network can cause the unexpected to happen if you ever go off-line. |
I should probably point out that this is easier to handle in any of the other native scripting languages, and they're all easier than batch. If you're really a beginner, you should pick a better language. For instance, PowerShell'd look like this:
Start-Sleep -Milliseconds 500
"Hello world 2"
How To Ask Questions The Smart Way