Redirect Console Output

More
6 years 4 weeks ago - 6 years 4 weeks ago #54 by * Appeon *
* Appeon * created the code: Redirect Console Output
This sample shows how you can use Windows API functions for redirecting a console output (STDOUT) into a multiline edit or a log file.

Development Requirements:
IDE: Unknown (Can be upgraded to PB 12.6 or above)

This message has an attachment file.
Please log in or register to see it.

Last Edit: 6 years 4 weeks ago by * Appeon *.

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #269 by * Appeon *
* Appeon * replied the code: Redirect Console Output
Hi Prashant,

This function doesn't support dir.The dir you mentioned is used under CMD.
However, what this tool called are the commands that can be executed in the Windows Run function (you can see the attachment).
Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #267 by PRASHANT NIRGUN
PRASHANT NIRGUN replied the code: Redirect Console Output
Thanks for your code contribution. I need help from you. I used dir but it didn't work can you guide to capture the output of any dos command.

Please Log in or Create an account to join the conversation.

Moderators: Appeon Administrator