Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save DOS output to a text file
Message
From
19/09/2005 13:31:43
 
General information
Forum:
Windows
Category:
Computing in general
Miscellaneous
Thread ID:
01050853
Message ID:
01050935
Views:
8
>>Sorry no. I maxed out my help potential by remembering the /C option
>>
>>
>>I don't think I've altered any relevant VFP setting and
>>
RUN mycommand > myfile
>>works just fine in VFP for me.
>>
>>Manually clicking Start - Run and using the CMD /C option also works, but I don't know how to invoke it programatically if that's what you need and RUN doesn't work for you.
>>
>>Good luck.........Rich
>
>Try it from Start/Run command without cmd/c

I'm not sure what you are asking........
Click Start
Click Run
Type mycommand > myfile <CR>
If that is what you are trying, I don't think it should work. the > is an output redirection from within DOS. Unless you type CMD you are not invoking the DOS command processor and you are therefore passing > myfile as a parameter to mycommand. I think what you are trying is equivalent to building a shortcut with mycommand > myfile as the target, which I don't think will work either.

Hope I have it right...........Rich
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform