delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/10/17:30:11

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: (none)
Date: Wed, 10 Apr 2002 16:03:16 CDT
Organization: Rice University, Houston TX
Lines: 30
Message-ID: <3cb4a894.sandmann@clio.rice.edu>
References: <3cb47f7a$1$12336$9b622d9e AT news DOT freenet DOT de>
NNTP-Posting-Host: clio.rice.edu
X-Trace: joe.rice.edu 1018473212 18677 128.42.105.3 (10 Apr 2002 21:13:32 GMT)
X-Complaints-To: abuse AT rice DOT edu
NNTP-Posting-Date: 10 Apr 2002 21:13:32 GMT
X-NewsEditor: ED-1.5.9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> > C:\> redir -e errors.txt gcc -c foo.c
> 
> I have a question: does it hurt if we rename redir to something else (or
> copy it to something else)? Windows 2000 also has ... believe it or not
> (grrrr...) it's own redir app that serves an entirely differnet purpose..

You can rename it.  The cmd.exe shell also supports stderr redirection
built in so you can avoid using redir completely, ie:

c:\> gcc -c foo.c 2>errors.txt

Since this is the "standard" way to do this under cmd.exe, I prefer it
when possible (there are some things that redir does better, but 99%
of the time I use the cmd.exe functionality).

> Ps: Windows 2000 nuisance list (so far):
> own find.exe
> own sort.exe

These are on all DOS platforms; put DJGPP first in the path or rename them.
Not specific to Win2K.

> own redir.exe

Don't use it much :-)

> autoexec.nt

We should enhance the docs to make this more clear.  If you ever use the
LFN TSR you also need to edit this file.  Best to do it all at once...

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019