07-23-2023, 11:03 AM
I have a batch file that calls a Windows GUI application. The GUI app writes it's output (the interesting bits anyway) to it's own GUI display rather than stdout, however I would like it displayed in the cmd window where the batch file is running.
Thankfully the app has an option to write the output to a file, so I need to redirect this to stdout. In *nix I would give `/dev/stdout` as the file to write to but what about in Windows/cmd?
Thankfully the app has an option to write the output to a file, so I need to redirect this to stdout. In *nix I would give `/dev/stdout` as the file to write to but what about in Windows/cmd?