X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "Neil Kolban" Subject: Newbie: Setting environment variables from a .bat file Date: Thu, 17 Aug 2006 23:10:20 -0500 Lines: 10 Message-ID: X-IsSubscribed: yes 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 Folks, I have some windows BAT files that set some windows CMD environment variables. I am hoping to run a shell under cygwin but when I run the BAT files from a shell prompt, the BAT file set variables are not exported to the parent shell. Is there a way that I can have BAT file set variables visible in the calling environment? Neil -- 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/