X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: 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 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 User-Agent: Thunderbird MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: parentheses in environment variable name References: <1911165825 DOT 42500 DOT 1368069210455 DOT JavaMail DOT root AT seidal DOT 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