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 Message-ID: <9bbd2794050720120434ea1470@mail.gmail.com> Date: Wed, 20 Jul 2005 12:04:33 -0700 From: Alex Goldman Reply-To: Alex Goldman To: cygwin AT cygwin DOT com Subject: setting Win32 environment variables in Cygwin Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j6KJ5RJ4011141 When I execute a *.bat file containing lines like Set FOO=12345 FOO does not show up in the environment of the Cygwin shell. Further, if I execute Win32 programs that access the environment, they can not see FOO either. Specifically, I need to do Set PATH=C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin;%PATH% Set INCLUDE=C:\Program Files\Microsoft Visual C++ Toolkit 2003\include;%INCLUDE% Set LIB=C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib;C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib;%LIB% So that VC++ will run properly from the command line. Any suggestions? -- 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/