Discussion:
Running batch file and redirecting output?
(too old to reply)
Harry Potter
2020-05-23 22:35:47 UTC
Permalink
How do I run a batch file from a Win32 API C program and redirect its output to a text file? I have a Win10/64 laptop and want the code to work on all NT Windows.
JJ
2020-05-24 04:49:14 UTC
Permalink
Post by Harry Potter
How do I run a batch file from a Win32 API C program and redirect its
output to a text file? I have a Win10/64 laptop and want the code to
work on all NT Windows.
Specify a pipe handle for the standard output handle of the child process.
R.Wieser
2020-05-24 07:04:34 UTC
Permalink
Harry,
How do I run a batch file from a Win32 API C program ...
Start with answering that one, and the answer to the redirection problem
will probably hit you in the face.

Regards,
Rudy Wieser

Loading...