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 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: <4A726C93 DOT 9090403 AT gmail DOT com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 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