I have been using Tee to display and save output of a SMTP/POP client named TCPMAIL. One example of command line is: C:\!NET\TCPMAIL.EXE /q /d [EMAIL PROTECTED] **** |C:\UTLS\TEE .\MAIL.LST and noticed that it truncates the file (that is,some lines - perhaps 10 - that appear last on screen are not saved to file) This does not depend on filename nor on the tcpmail switches I use. If I use standard DOS redirection (> or >>),it saves OK the output (but then I get no screen output,of course). Did anybody notice a similar problem ? Regards JAS
It's possible that some of the output you see on screen was printed to stderr. TEE only works with output printed to stdout (that is, it only reads stdin.)
stderr is often used to print warnings or error messages.
-jh
-- I'm sorry my president's an idiot. I didn't vote for him.
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user