Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save DOS output to a text file
Message
General information
Forum:
Windows
Category:
Computing in general
Miscellaneous
Thread ID:
01050853
Message ID:
01050869
Views:
15
>>>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.
>>
>>Hi Naomi,
>>I just downloaded and installed GPRESULT and when I go to it's instalation folder and type:
>>gpresult > c:\test.txt it works :o)
>
>I tried few times (actually, I also tried with >>) and the file was not created. But then we tried in two steps:
>cmd, then the same command and it worked. So, next time I will always use cmd first.

Probably you ran into issue with command.com that was used for VFP RUN command in previous Windows versions. Try to find FOXRUN.PIF responsible for this behavior, and change its command line property from COMMAND.COM to CMD.EXE.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform