X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=FdSpv3eCp9jfJioBp4UeQqHnvg80CDQ39gMhtMX8qYP
	+JlozqZRvwfaaQiEFWwiV5DhghvtZRyV8tHNy0irLoJapNRhTJc/xVCWkjiV/wDj
	moozigvr1ME/Me7k8ES9l7ZvxXucIKUEH+tW3F+3ghB18K9JLMFsEPNJ/T5wWV/w
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=pMAFy8dQSiuZ6gne4aTYBZwIoi0=; b=GqskdLnh0YRm7DmRR
	up1laGFCAoFpKfVVqZLGScR9QZ3utaA5i3pOUDi5UbfNiYblBsHPG0yDmqlQ8DXj
	R39joosyTzHCDMixAoxb7FiapK7Sy0x2tAlrWIa08rjkiEgYLGPQeqJxpiuVVwI0
	/J6wNujP3lf30vsHkR1X1bG/Ns=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_20,KHOP_THREADED,RP_MATCHES_RCVD autolearn=ham version=3.3.1
Message-ID: <518B3ED8.3050503@tlinx.org>
Date: Wed, 08 May 2013 23:14:48 -0700
From: Linda Walsh <cygwin@tlinx.org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: parentheses in environment variable name
References: <1911165825.42500.1368069210455.JavaMail.root@seidal.com>
In-Reply-To: <1911165825.42500.1368069210455.JavaMail.root@seidal.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

BJ Quinn wrote:

> Anyway, at least one suggestion I found was that my problem may be caused by the CommonProgramFiles(x86) environment variable needing to be set to 'C:\Program Files (x86)\Common Files'.  So, can anyone suggest how to set an environment variable whose VARIABLE NAME (not just the VALUE) contains parentheses?!?  The standard backslash escape character doesn't appear to work in this scenario.  That, or perhaps I'm on the wrong track altogether.  I'm open to any suggestions.
----
env - "CommonProgramFiles(x86)"="...whatever" /bin/bash.exe (or another program...)
will set the name with parens in the environment...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

