| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Date: | Mon, 30 Nov 2009 17:30:22 -0800 |
| From: | Gary Johnson <garyjohn AT spocom DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: how to get the windows PATH env in cygwin |
| Message-ID: | <20091201013022.GA2336@KCJs-Computer> |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <8d7f7110911300444l7ab3c2c8l5ac1edf0097d2065 AT mail DOT gmail DOT com> <4B142061 DOT 6000200 AT cygwin DOT com> <8d7f7110911301717jbafbc2ci432817b1c713f1e6 AT mail DOT gmail DOT com> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <8d7f7110911301717jbafbc2ci432817b1c713f1e6@mail.gmail.com> |
| User-Agent: | Mutt/1.4.2.2i |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| 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 |
On 2009-12-01, ??????????????? wrote:
> > $PATH returns the value of PATH. For example, to display the path, use "echo
> > $PATH".
> > This is not Cygwin-specific though so further discussion is likely to be
> > off-topic for this list.
> What i mean is that, how to only get the env path of windows, such as,
> `C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem".
>
> `echo $PATH' would display the path of cygwin:
> echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/sbin:/sbin
cygpath -w -p "$PATH"
Regards,
Gary
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |