X-Spam-Check-By: sourceware.org Message-ID: <45A65E18.FB321B08@dessent.net> Date: Thu, 11 Jan 2007 07:56:08 -0800 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: dealing with spaces in paths References: <1278386 DOT c5zxZe01gc AT teancum> <45A5AA85 DOT 1040204 AT cygwin DOT com> <3445035 DOT yTEPPvuVV4 AT teancum> <45A65607 DOT 3030404 AT cygwin DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com 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 "Larry Hall (Cygwin)" wrote: > homedir=`cygpath -w "$USERPROFILE"` > mount -buf "$homedir" "$HOME"/myh > > This is recreated from memory because I don't have access to Cygwin now. > But this is essentially what worked fine for me last night. Note, the > quote around USERPROFILE is important. How about simply: mount -buf "$(cygpath -w "$USERPROFILE")" "$HOME/myh" Brian -- 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/