delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/16/21:14:22

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AB18D5F.1060307@tlinx.org>
Date: Wed, 16 Sep 2009 18:14:07 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.22) Gecko/20090605 Lightning/0.9 Thunderbird/2.0.0.22 ThunderBrowse/3.2.6.4 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: cygdrive prefix
References: <ee47a1dc39b42cb6fdd0c2dff9ff3053 AT mail DOT smartmobili DOT com>
In-Reply-To: <ee47a1dc39b42cb6fdd0c2dff9ff3053@mail.smartmobili.com>
X-Stationery: 0.4.10
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Vincent R. wrote:
> Hi,
> 
> Is there any good reason to force user to use /cygdrive/ before accessing
> a drive ?
> I am asking it because I regularly switch from cygwin to mingw and some
> simple script needs
> to be adapted every time.
> Wouldn't be easier to access directly to a drive without entering
> cygdrive? Is there any reason for that ?
----
Just set your cygdrive prefix to "" (null)
Then you can use /d/, /e/, and _usually_,  "/" = your root drive
...
Works REAL well, when you install cygwin in the root dir, since then all the
paths match up between cygwin and windows.

More than one windows app takes "/" as a path-sep, as well as "\" (Gvim for example).


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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