- You are here:
- Home
- CodeXchange
- All
- PowerBuilder
- Redirect Console Output
Redirect Console Output
- * Appeon *
- Code Author
- Offline
Less
More
- Posts: 159
6 years 4 weeks ago - 6 years 4 weeks ago #54
by * Appeon *
This message has an attachment file.
* 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)
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.
- * Appeon *
- Code Author
- Offline
Less
More
- Posts: 159
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).
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.
- PRASHANT NIRGUN
- Offline
Less
More
- Posts: 1
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