🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #4489

Re: DOS logging

#4489
From: KLinZ
Date: Fri, 01 Aug 2003 22:49
19 lines
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
Technical Details
Message-ID: <H7CWa.20722$KF1.308779@amstwist00>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!amsnews01.chello.com!amstwist00.POSTED!not-for-mail
References: <fdqmivcujrmj2f05phcgvd0glo15377v00@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcea4,31c378bc6ed36205
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2003-08-01 15:49:15 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!amsnews01.chello.com!amstwist00.POSTED!not-for-mail
From: "KLinZ" <klinz@NOSPAMzenobitsSPAMNO.com.invalid>
Newsgroups: be.comp.programming
References: <fdqmivcujrmj2f05phcgvd0glo15377v00@4ax.com>
Subject: Re: DOS logging
Lines: 20
Organization: Inc.
MIME-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <H7CWa.20722$KF1.308779@amstwist00>
Date: Sat, 2 Aug 2003 00:49:45 +0200
NNTP-Posting-Host: 212.187.71.152
X-Complaints-To: abuse@chello.nl
X-Trace: amstwist00 1059778151 212.187.71.152 (Sat, 02 Aug 2003 00:49:11 MET DST)
NNTP-Posting-Date: Sat, 02 Aug 2003 00:49:11 MET DST