This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Environment variables for DOS programs


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]