You can use 'ping'.
Code:
ping -n 10 localhost>NUL