Still not working.
Here's the whole batch file. As you can see, I have tried variations on the theme, but none seem to work.
date/t>>d:\temp\pinging.log
time/t>d:\temp\pinging.log
ping www.broadcaster.org.uk >>d:\temp\pinging.log
ping www.daftmoo.co.uk >d:\temp\pinging.log
ping www.google.co.uk>d:\temp\pinging.log
echo line 1 >d:\temp\pinging.log
echo line 2 >d:\temp\pinging.log
Here's the creen output:
D:\Mytemp>date/t1>>d:\temp\pinging.log
D:\Mytemp>time/t1>d:\temp\pinging.log
D:\Mytemp>ping www.broadcaster.org.uk 1>>d:\temp\pinging.log
D:\Mytemp>ping www.daftmoo.co.uk 1>d:\temp\pinging.log
D:\Mytemp>ping www.google.co.uk 1>d:\temp\pinging.log
D:\Mytemp>echo line 1 1>d:\temp\pinging.log
D:\Mytemp>echo line 2 1>d:\temp\pinging.log
The time taken for the screen to go through the lines shows that the ping command is running, but I just can't seem to capture the output. The file created has "line 2" inside it, followed by a blank line, but nothing else.
I'm very confused. Help?