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:from:subject:to:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=yz5 7VNs4d7jnC7tXosFtg49qqBzRhjaC+sBkgpvN1y5naMJAgPWmIsml5bALKCHepTo llRhtXXfzKAVwM+hRGvImVxRkAmUN9XBC4K2j0XruJ/A+RzTLmDo1TwVil+ak2qK e4gFxevlU+RcB4kr7vyKKH7zw5RY8CcB3eGZ51f0= 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:from:subject:to:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=61iVNdi5a DiaXoYoCATPzsRZdTY=; b=ZlRKdgPHfW+UXpKyhbpe6LNHsiXj3nNUWq59j/gmm m0nLy0e9ERV2Bxro+DHQbznO+LkChtddptFa2oJ4GUVNXPPqbk0s/3lmsCsfCsne pTDmBJ6mjshH2ly4PbA+rV6GArc+qScqhQsmZ1zYWstBKTFxSPka0b7Rt4a4nZuF 4w= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*F:D*web.de X-HELO: mout.web.de From: ChampS Subject: Access windows environment variable via cygwin To: cygwin AT cygwin DOT com Message-ID: <29cf87ff-beb3-5c22-eb47-ddb0ad6d4ae0@web.de> Date: Fri, 12 May 2017 03:14:20 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1;V01:K0:zwSW4HfSZhY=:Vh7js6Y4Dbld9g2Hnq1XGA Gdds1RezMtWp2M8KBFfQRAXodFXf9snypEU9CPDh3uLdNqGQyJSqgzS1P1+uak8WyREw080nj ChK2HUfKV2+ns/OZABTg/yCXhev3A9vfOf7aMToodIXciZtxN6fngx062lZwSF5qYYhptlOhx 1wAgq5/9iqhoKcg9IZzPGIhu/dVmM3EMUUqSPx7aez4sqokotJTQhtqs5+0Uaxnp6ERFSxgpd QVYrur/0ycBAkMMoCCMaA8gz77iPN0P4b80tdw1XT233SuQ7bTPOsmM0Nw1GW0V0ZsOMwRKar RZsQ3ZTguiwByBG9iILz77vXBJRXnQyYE5SYkZ8sdFZhsDEoIE59ec68GNVeLDGaVbzK3ww6p X8OF0t+SDXkVzciy6p1bMbfSZV1x4ZeXUwbH7rW8oNW/qg3iQg+nK/EXLbWiJ5UovRTdTcYSs Dr0UxF12hxbJpOvOpAqWxysHXNoJUzFeDLk0BNz+QIj5JxRhwUlFhz5BqoZMVfKthmrmbbOcg SAi2/ML8FxweecLQ94cWdO49Lgm5GsXG3ICrT8SvPg5LgdtHY8bLY7wKxcfyXdiv6/WrfoqED 6L2niY8voqVyYUTHnyNwYAcAqtB2VOJC7KUwjMuZZVNe41w6Jx5A6FqtXesX0ofuffTj3XFIQ QCl4mQevsmwwltJdI7zGItWlY4AcxZwHSf4s9NgB/AUOLAvSrcIEqlYi7mb2pzY+kLCg2ICTZ 7mx2owFOg8ze6hybC3huEnDPYJVKsvj10XCKNrE6SQvtklH1R3+0u1plqi+JXkamPJxi56QK+ e18ZAkr Hi, I want to use Cygwin to access all Windows applications installed on my Windows 7 system. The Problem is that Windows is using spaces in its environment variable 'Path' and Cygwin can not handle the spaces. Is there a way to use the Windows environment variable 'Path' even with spaces in it? For Example I want to start x86 sbt via Cygwin, then I will get the following error message: "/cygdrive/c/Program Files (x86)/sbt/bin/sbt: line 61: /sbt-launch-lib.bash: No such file or directory". But when I try it with the default Windows cmd it works. Thought about something like iterating over the 'Path' environment variable in bashrc and adapt the strings to fit for Cygwin. But I don't know how I can access the Windows environment variables and how I could provide the adapted environment variable to Cygwin. Someone an idea how I could solve this issue? Kind regards, Ben -- 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