delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/05/28/04:48:24

Message-ID: <004d01c20624$6acbddd0$0102a8c0@acceleron>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Cc: <djgpp-workers AT delorie DOT com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020527161435 DOT 10825B AT is>
Subject: Re: emacs under w2k
Date: Tue, 28 May 2002 18:47:25 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Reply-To: djgpp-workers AT delorie DOT com

> > The following two tests fail, they do not echo anything:-
> > command.com /c if exist \DJ204\djgpp.env @echo here1
> > command.com /c if exist "\DJ204\djgpp.env" @echo here2
>
> I assume \dj204\djgpp.env does exist, right?
Yes.

> Does it work if you remove the @ from "echo"?  (FWIW, I don't really
> understand why did you use @echo in the first place.)

The first line does work if I remove the @ from echo, but the line where the
check is in quotes still fails. Don't know why.

I am used to adding the @ from the MS-DOS days so that the command is silent
and only the text that I want to display is displayed.

Andrew


- Raw text -


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