delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/18/00:25:54

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "Neil Kolban" <kolban AT us DOT ibm DOT com>
Subject: Newbie: Setting environment variables from a .bat file
Date: Thu, 17 Aug 2006 23:10:20 -0500
Lines: 10
Message-ID: <ec3ejc$kqv$1@sea.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

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/

- Raw text -


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