Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: setting windows environment variables
Date: Wed, 21 Jul 2004 15:00:26 +0200
Message-ID: <D7FBE8A336018A4EB5EBDC6C898821930991C78A@HUELVA.belgium.fhm.de>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
From: "Morche Matthias" <Matthias.Morche@P7S1Produktion.de>
To: "Cygwin List" <cygwin@cygwin.com>
X-OriginalArrivalTime: 21 Jul 2004 13:00:27.0761 (UTC) FILETIME=[B1E8C610:01C46F22]
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i6LD1IbR015054

...to set environmental variables for windows you can use regtool...
But in that case they get persistent...

...and the simplest equivalent to start is using & to background the command...

  matthias

> -----Original Message-----
> From: cygwin-owner@cygwin.com 
> [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Larry Hall
> Sent: Tuesday, July 20, 2004 10:38 PM
> To: Jason Joines; cygwin@cygwin.com
> Subject: Re: setting windows environment variables
> 
> 
> At 04:18 PM 7/20/2004, you wrote:
> >    I have a Cygwin BASH script which takes user input, uses 
> ldapsearch, etc., to set a bunch of environment variables.  I 
> can then use these from bash with no problem.  I would also 
> like to make these environment variables available to the 
> windows command interpreter.
> >    Is there anyway to do this?
> 
> 
> Only if the windows command interpreter is a child of the 
> bash process you
> run from.  Otherwise, your best bet is to export the variables as some
> batch file and run that in the windows command interpreter.
> 
> 
> >    Also, is there a BASH equivalent of the windows cmd 
> start command that lets you start many processes without 
> having to wait on each to finish?
> 
> 
> How about 'cygstart'?
> 
> 
> --
> Larry Hall                              http://www.rfk.com
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 838 Washington Street                   (508) 893-9889 - FAX
> Holliston, MA 01746                     
> 
> 
> --
> 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/
> 
> 

--
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/


