start... run... CMD [enter]
brings up box
netstat -AN >> c:\list1.txt [enter]
this will create a text file on your harddrive in the C folder called list1.txt (which can be opened up in notpad or any text viewer)
repeat the same for the other one...
it doesnt do anyting, becasue what the >> bit means is that instead of showing the results on the screen, it makes a text file up with whatever would have normally appeared on the screen (so you can look at it afterwards)
if you left out the >> list.txt bit then it'd display on the screen infront of you