Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: Environment variables for DOS programs Date: Wed, 7 Apr 2004 22:12:03 +0200 Lines: 12 Message-ID: <1hr2r90lta6kf$.dlg@thorstenkampe.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: isi-dialin-129-51.isionline-dialin.de User-Agent: 40tude_Dialog/2.0.10.1de * levent (2004-04-07 21:03 +0100) > 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? Simply export the variable -- 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/