delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/24/12:20:07

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.20030124091624.01d93250@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Fri, 24 Jan 2003 09:20:53 -0800
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: RE: cygpath question
In-Reply-To: <DDEDIPLLKIAMLBCBFCHEAEJICDAA.relaxedrob@optushome.com.au>
References: <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030123224821 DOT 02dfc4a0 AT pop3 DOT cris DOT com>
Mime-Version: 1.0

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/

- Raw text -


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