🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.misc
Article #4138

Re: Write terminal-stream to file?

#4138
From: Tom Lavedas
Date: Thu, 28 Sep 2000 00:00
38 lines
1823 bytes
Frank Reinecke wrote:
> 
> Hi folks,
> 
> I have a programm that sends its results directly to the dos-terminal
> screen. I would like to have these results written to a file. The program
> cannot be configured itself to do this so my question is: Is there a way to
> redirect the terminal-text-output to a (txt or whatever) file?
> 
> Thanks a lot!
> 
> ---
> 
> Frank Reinecke
> (frank.reinecke@uni-muenster.de)
> 
> Institut f�r Mikrobiologie
> Westf�lische Wilhelms Universit�t
> Corrensstra�e 3
> 48149 M�nster, Germany
> 
> Telefon: 0251 - 83 39 859

It depends.  All DOS (console) programs that use the StdOut DOS facility
to write to the console can be redirected to a file using ...

  program.exe > output.txt

Use two greater-than signs for appending to an existing file.

However, some older programs were known to write directly to the video
hardware, bypassing the StdOut stream.  The output from such programs
cannot (easily) be captured into a file.  Hopefully, the program in
question will be well behaved.

Tom Lavedas
-----------
http://www.pressroom.com/~tglbatch/
Technical Details
Message-ID: <39D3B19A.DBCE5913@pressroom.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8qvrae$133i$1@redenix.uni-muenster.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f94e9,61e7e7694e7f03fd
X-Google-Attributes: gidf94e9,public
X-Google-Thread: f71eb,61e7e7694e7f03fd
X-Google-Attributes: gidf71eb,public
From: Tom Lavedas <lavedas@pressroom.com>
Subject: Re: Write terminal-stream to file?
Date: 2000/09/28
Message-ID: <39D3B19A.DBCE5913@pressroom.com>
X-Deja-AN: 675270330
Content-Transfer-Encoding: 8bit
References: <8qvrae$133i$1@redenix.uni-muenster.de>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: newsabuse@supernews.com
Organization: Posted via Supernews, http://www.supernews.com
MIME-Version: 1.0
Newsgroups: comp.os.msdos.misc,ger.pc.dos