delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/25/18:32:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-Id: <5.2.0.9.2.20030125152910.01d96190@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Sat, 25 Jan 2003 15:33:52 -0800
To: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>, cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: RE: cygpath question
In-Reply-To: <4.3.1.2.20030125180026.023f5408@pop.rcn.com>
References: <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030124155600 DOT 01d951e0 AT pop3 DOT cris DOT com>
<DDEDIPLLKIAMLBCBFCHEKEKJCDAA DOT relaxedrob AT optushome DOT com DOT au>
<5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030124134156 DOT 01d94df0 AT pop3 DOT cris DOT com>
Mime-Version: 1.0

At 15:04 2003-01-25, Larry Hall (RFK Partners, Inc) wrote:
>At 07:03 PM 1/24/2003, Randall R Schulz wrote:
> >Rob,
> >
> >...
>
> >I really don't know what's different on my system that makes this 
> nifty feature work for me. I'm inclined to think it's not a BASH 
> setting or anything specific to my Cygwin configuration.
>
> >It works in CMD.exe, too, including the part about adding quotes 
> only when needed. It could be something I configured via Xteq's 
> X-Setup or TweakUI. I'm an inveterate customizer.
>
> >Perhaps it depends on which version of Windows you're running? I 
> have Win2K Pro with SP3 and pretty much all the updates installed. 
> (What am I saying "pretty much?" I'm compulsive about updating!)
>
>
>OK, I played with this a bit and I think I'm narrowing in on a point 
>of significance.  I found that my console bash and cmd worked exactly 
>as Randall suggests if the path I was dragging and dropping had a 
>space in it's name.  In these cases, the result was quoted (with 
>"").  Otherwise, the path that resulted was not quoted.  Randall, is 
>this what you see there?
>
>
>Larry Hall


Larry,

Yes, exactly--quotes are supplied only when the drag entity includes 
spaces (anywhere in the absolute name). Which, of course, means I ought 
to read my own posts once in a while, since without the quotes and the 
unconditional presence of backslashes, this "feature" is less than ideal.

Randall Schulz 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019