myprog 2>error.txt
2 should be stderr (0 is stdin, 1 is stdout, 3 strdprn - I think)
Hope it helps
Phil
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
You can often trap stderr thus
myprog 2>error.txt
2 should be stderr (0 is stdin, 1 is stdout, 3 strdprn - I think)
Hope it helps
Phil