This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Forward slashes in path and pipes
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