home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
msdos
/
sysutl
/
rdstderr.arc
/
RDSTDERR.DOC
< prev
next >
Wrap
Text File
|
1988-02-24
|
2KB
|
36 lines
RDSTDERR - redirect STDERR output to a file.
I wrote this program to fill a void left by the inability of MS-DOS to redirect
STDERR. Microsoft's MASM outputs it's error messages to STDERR and I needed an
easy way to capture these messages to a file so I could edit the source with
the error messages in front of me. I release it now to the Public Domain in
the hope that it might make someone else's life a little easier and to attempt
to repay the authors of all the fine PD software that I've used over the years.
To use it, enter "RDSTDERR FILE COMMAND" at the DOS prompt. FILE should be the
name of the file to direct STDERR output to and COMMAND should be the command
to submit to DOS. The redirection only stays in effect until the command is
finished.
I've included the source in this archive so the program may be tailored to your
needs. The program has been tested on both an honest to goodness IBM PC/XT and
Bullet-286 clone (both running DOS 3.30).
Finally, no warranty is given with this program and no liability is assumed.
Use this program at your own risk. Please distribute this archive in its
original form only. No charge may be made for distribution of this program or
an archive containing it.
Files include in this archive
-----------------------------
rdstderr.pas - The Turbo Pascal 4.0 source for RDSTDERR.
rdstderr.exe - The executable file of same.
rdstderr.doc - (this file) Contains as much documentation as I could
stomach writing for such a tiny program.
asmerr.bat - A batch file showing the intended use for the program.
R.J. Bartlett 24 February 1988
GEnie address - R.Bartlett