delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/09/04/07:32:00

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Sat, 04 Sep 2004 14:30:03 +0300
From: "Eli Zaretskii" <eliz AT gnu DOT org>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-ID: <01c49272$Blat.v2.2.2$aaddb4c0@zahav.net.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2
In-reply-to: <0_a_c.15521$GR3.1990@newssvr27.news.prodigy.com>
(one2001boy AT yahoo DOT com)
Subject: Re: date.exe in shl2011b.zip
References: <CsRZc.14863$hL1 DOT 14760 AT newssvr27 DOT news DOT prodigy DOT com> <200409030334 DOT i833Y487011049 AT envy DOT delorie DOT com> <JiSZc.15226$cF4 DOT 7651 AT newssvr29 DOT news DOT prodigy DOT com> <t00gj0prgu7o9k0mo7n3ejtpj7ekr9jnh8 AT 4ax DOT com> <0_a_c.15521$GR3 DOT 1990 AT newssvr27 DOT news DOT prodigy DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "one2001boy AT yahoo DOT com" <one2001boy AT yahoo DOT com>
> Date: Sat, 04 Sep 2004 03:52:28 GMT
> 
> > MS-DOS command.com date is an internal command so it is matched in
> > command's internal command table if no explicit path prefix is given;
> > for internal commands, there is no way to get command to search the
> > path.
> 
> That is true. It seems that bash can by pass this problem.
> Not sure how it is done in bash.

Bash doesn't have the built-in `date' command, that's why.  Someone
already explained that in this thread.

> I tried to write a program to call from createproess() instead of
> system(), it seems that date.exe is still from msdos.

The DJGPP version of `system' should have found date.exe first.  And
we don't have `createprocess' in DJGPP.  Are you at all using DJGPP?

- Raw text -


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