@echo OFF

REM Info:
REM "ping" is "sleep" on this lame excuse of an OS
REM ("timeout" won't work if input/output redirected)

echo Hello 1, sleeping
PING 1.1.1.1 -n 1 -w 500 1> NUL 2> NUL
echo Hello 2, sleeping
PING 1.1.1.1 -n 1 -w 500 1> NUL 2> NUL
echo Hello 3, sleeping
PING 1.1.1.1 -n 1 -w 500 1> NUL 2> NUL

echo NOW WE TALK TO STDERR...
echo hello stderr 1>&2
echo Betcha won't see this!

echo Hello 4, sleeping
PING 1.1.1.1 -n 1 -w 500 > NUL 2> NUL
echo Hello 5, sleeping
PING 1.1.1.1 -n 1 -w 500 > NUL 2> NUL
echo Hello 6, sleeping
PING 1.1.1.1 -n 1 -w 500 > NUL 2> NUL
echo Goodbye
