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 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" Subject: Re: cygdrive prefix References: In-Reply-To: X-Stationery: 0.4.10 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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