Thread View: be.comp.programming
4 messages
4 total messages
Started by Tony
Fri, 01 Aug 2003 22:37
DOS logging
Author: Tony
Date: Fri, 01 Aug 2003 22:37
Date: Fri, 01 Aug 2003 22:37
10 lines
1281 bytes
1281 bytes
Hi, I want to log app DOS output and input to file. The "> spool.txt" doesn't work well enough.. So *all* activity in the dos window should be logged to disc. It doesnt even need to be visible in the window..... Any pointers? -=Tony=-
Re: DOS logging
Author: KLinZ
Date: Fri, 01 Aug 2003 22:49
Date: Fri, 01 Aug 2003 22:49
19 lines
1581 bytes
1581 bytes
Tony wrote: > I want to log app DOS output and input to file. > The "> spool.txt" doesn't work well enough.. Why not? > So *all* activity in the dos window should be logged to disc. > It doesnt even need to be visible in the window..... > > Any pointers? Yes, create a console with CreateProcess() and catch the output with a pipe: http://www.google.com/search?q=console+output+redirect+pipe -- www.zenobits.com
Re: DOS logging
Author: Proxie
Date: Sat, 02 Aug 2003 08:38
Date: Sat, 02 Aug 2003 08:38
16 lines
1725 bytes
1725 bytes
Tony wrote: > Hi, > > I want to log app DOS output and input to file. > The "> spool.txt" doesn't work well enough.. > So *all* activity in the dos window should be logged to disc. > It doesnt even need to be visible in the window..... > > Any pointers? > > -=Tony=- dosprog &> spoolall.txt dosprog 1> spoolnormal.txt dosprog 2> spoolerror.txt
Re: DOS logging
Author: Proxie
Date: Sat, 02 Aug 2003 08:38
Date: Sat, 02 Aug 2003 08:38
24 lines
1755 bytes
1755 bytes
Proxie wrote: > Tony wrote: > >> Hi, >> >> I want to log app DOS output and input to file. >> The "> spool.txt" doesn't work well enough.. >> So *all* activity in the dos window should be logged to disc. >> It doesnt even need to be visible in the window..... >> >> Any pointers? >> >> -=Tony=- > > > dosprog &> spoolall.txt > dosprog 1> spoolnormal.txt > dosprog 2> spoolerror.txt > use batch file with last lines CLS EXIT
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads