delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/04/01:59:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.0 required=5.0 tests=AWL,BAYES_40,DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG
X-Spam-Check-By: sourceware.org
Message-ID: <21273528.post@talk.nabble.com>
Date: Sat, 3 Jan 2009 22:59:03 -0800 (PST)
From: "yuanyun.ken" <yuanyun DOT kenny AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Could I use backslash directly as path delimiter on cygwin?
In-Reply-To: <f60fe000901032112l327424e5p17b6d92f6c772c57@mail.gmail.com>
MIME-Version: 1.0
References: <21273102 DOT post AT talk DOT nabble DOT com> <f60fe000901032112l327424e5p17b6d92f6c772c57 AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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


Mark J. Reed wrote:
> 
> The double-backslash solution you've already found is inconvenient for
> copy and paste; a more paste-friendly solution is to use single
> quotation marks around the whole path:
> 
> cd 'd:\dira\dirb'
> 
> If you find an odd command that doesn't understand backslash-delimited
> path names, combine the single quotes with cygpath:
> 
> oddcmd "$( cygpath 'd:\dira\dirb' )"
> 
> -- 
> Mark J. Reed <markjreed AT gmail DOT com>
> 
Yes, this is what I want, and thanks for the replies...:clap:

-- 
View this message in context: http://www.nabble.com/Could-I-use-backslash-directly-as-path-delimiter-on-cygwin--tp21273102p21273528.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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