delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/07/16:17:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 7 Apr 2004 22:13:44 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Environment variables for DOS programs
Message-ID: <20040407201344.GB32457@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <c51j9d$6jp$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
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 AT cygwin DOT 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/

- Raw text -


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