Windows batch file poor man’s sleep function

The following line in a batch file will wait 5 seconds, hand when the sleep command is unavailable.

ping -n 5 127.0.0.1 > NUL 2>&1