Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 From: "Dave Korn" To: Subject: RE: Programatically finding value of "cygdrive" prefix Date: Tue, 16 Aug 2005 15:49:39 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: Message-ID: ----Original Message---- >From: Fred Kulack >Sent: 16 August 2005 15:22 > On 08/16/2005 at 08:25:18 AM, cygwin-owner wrote: > mount -m | grep -- --change-cygdrive-prefix | \ > xargs bash -c 'while [ $# != 1 ]; do shift; done; echo "$@"' -- > --- end of excerpt --- > > Why the complexity? Is there something wrong with this? > >> regtool get "/HKCU/Software/Cygnus Solutions/Cygwin/mounts v2/cygdrive > prefix" > / > http://cygwin.com/acronyms#YSHFRTT Or in this case, you should have _started_ reading the thread, since you've basically just repeated what was said in the very first post. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/