Naomi, try
yourdoscommandhere > test.txt
will it work at all or not?
>Hi everybody,
>
>How can I capture DOS output to a text? I typed gpresult in Run command, but DOS window flashes and disappears. I tried it with gpresult >> c:\011\test.txt, but it didn't work.
>
>Thanks in advance.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison