| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4A72C1FA.7060509@gmail.com> |
| Date: | Fri, 31 Jul 2009 11:05:46 +0100 |
| From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
| User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Forward slashes in path and pipes |
| References: | <h4tnoi$lvr$1 AT ger DOT gmane DOT org> <4A726C93 DOT 9090403 AT gmail DOT com> <h4tv7c$3gl$1 AT ger DOT gmane DOT org> |
| In-Reply-To: | <h4tv7c$3gl$1@ger.gmane.org> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.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 |
Andrew DeFaria wrote:
>> For some reason (the presence of the pipe?) cmd.exe parses the forward
>> slash as an options separator rather than a path component in one case
>> but not the other. Quoting removes the ambiguity.
> Yes, my Cygwin question would be why does it store "/" in the registry
> for what is obviously a Windows path?
Because that is a correct and valid syntax for a windows path. Just because
cmd.exe can misparse it when you fail to quote it doesn't change that; it's no
more an "invalid" or "non-Windows" path than one with a space in it, which will
also give cmd.exe problems if you fail to quote it.
cheers,
DaveK
--
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 |