delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/24/16:39:57

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: <269620-220031524213812133@M2W033.mail2web.com>
X-Priority: 3
Reply-To: lhall AT rfk DOT com
X-Originating-IP: 209.113.174.244
From: "lhall AT pop DOT ma DOT ultranet DOT com" <lhall AT pop DOT ma DOT ultranet DOT com>
To: rrschulz AT cris DOT com, cygwin AT cygwin DOT com
Subject: RE: cygpath question
Date: Fri, 24 Jan 2003 16:38:12 -0500
MIME-Version: 1.0
X-OriginalArrivalTime: 24 Jan 2003 21:38:12.0166 (UTC) FILETIME=[E504CE60:01C2C3F0]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h0OLduv06379

I'm lost! ;-)

Drag and drop for me on W2K to bash does get me the windows file name but
it's not escaped or quoted.  So you must have some cool setting there that
I don't have.  What is it?  Do tell! ;-)

BTW, I'm up-to-date with everythig as of 1/21 and I'm currently
running a snapshot Cygwin DLL from the same day.

Larry

Original Message:
-----------------
From: Randall R Schulz rrschulz AT cris DOT com
Date: Fri, 24 Jan 2003 09:20:53 -0800
To: cygwin AT cygwin DOT com
Subject: RE: cygpath question


Rob,

All is not lost. If you simply drag an icon for a file system entity 
and drop it in a Cygwin window, it will get quotes _as necessary_! 
Nice, actually. The syntax will still be Windows, including 
backslashes, but actually Cygwin will handle this correctly.

And in case you're not aware of it, you can ALT-tab while a 
drag-and-drop is in progress without disrupting the drag.

Good luck.

Randall Schulz


At 01:20 2003-01-24, Robert Mark Bram wrote:
>Howdy Randall,
>
> > >    $ cdd C:\Rob\mcd3060\Tri32002\a2
> > >    bash: cd: C:Robmcd3060Tri32002a2: No such file or directory
> > In this case, the unquoted backslashes
> > essentially just disappear, since in
> > each case the character they precede
> > is not special.
>
>Thank you very much for your reply. I forgot the cardinal rule that
>arguments entered on the command line must be quoted if they include
>characters such as \ that are not meant as escape characters...
>
>All of this brings me to the rather depressing conclusion that I cannot
make
>the same shortcut in cygwin that I often use in cmd.exe: copying a path
from
>Windows Explorer, alt-tabbing to the command prompt, typing "cd " with the
>left hand then right clicking with the right hand and pressing enter to
move
>easily to a new directory. Usually, this technique is still easier than the
>auto-complete functions available in bash and XP's cmd.exe...
>
>Rob
>:)


--
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/


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



--
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