www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Sun, 4 Jan 2009 00:48:59 -0500 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Could I use backslash directly as path delimiter on cygwin? |
Message-ID: | <20090104054859.GA29532@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <21273102 DOT post AT talk DOT nabble DOT com> <49604B7E DOT 9060607 AT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <49604B7E.9060607@gmail.com> |
User-Agent: | Mutt/1.5.16 (2007-06-09) |
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 |
Note-from-DJ: | This may be spam |
On Sun, Jan 04, 2009 at 05:39:10AM +0000, Andy Koppe wrote: > yuanyun.ken wrote: >>cygwin is great, I like it. But when I want to change directory, I >>have to type 'cd D:/dira/dirb' or 'cd D:\\dira\\dirb'. This is >>somewhat inconvenient. > ><shameless plug> You might like MinTTY, which allows you to drag and >drop files into it. Your example would be inserted as "D:\dira\dirb". >See http://code.google.com/p/mintty </shameless plug> MinTTY is nice but I think people may be missing the point here (or I am). I believe that the OP wants to avoid typing "cd a:\\b\\c" and just type "cd a:\b\c" into the bash shell. If that is the question then the answer is "No, you can't do that". MS-DOS paths in the Cygwin utilities often work more by coincidence than design. bash's design is to use the backslash as a quoting character so there is no chance that you will be able to change its command line interface. Doing this would actually go against the reason for Cygwin which strives to provide a UNIX-like environment for Windows. cgf -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |