Patrice Colet wrote: > script. I tried "pd.com > pd.txt", it displays stdout but doesn't write > in text file. that's because it doesn't write to stdout but to stderr. something like "pd.com 2> pd.txt" should to the trick. mfd,g IOhannes