Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 7 Apr 2004 22:13:44 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Environment variables for DOS programs
Message-ID: <20040407201344.GB32457@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <c51j9d$6jp$1@sea.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <c51j9d$6jp$1@sea.gmane.org>
User-Agent: Mutt/1.4.2i

On Apr  7 15:03, levent wrote:
> Hi,
> 
> From my Cygwin terminal, I want to call DOS programs  which require
> some environment variables to be set properly (such as the commandline
> utility *link.exe* of Visual Studio) for current session.
> 
> Unfortunately, this was not possible by simply setting the variables in
> the shell (I am using tcsh). Link.exe refuses to see the environment
> variables defined in tcsh. Is this the desired behaviour?  Is there
> anyway to make the DOS programs see the environment variables in Cygwin
> shells? Or am I making a fundamental mistake in expecting such a behaviour?

man tcsh

See the difference between set and setenv.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

