delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/11/10:58:22

X-Spam-Check-By: sourceware.org
Message-ID: <45A65E18.FB321B08@dessent.net>
Date: Thu, 11 Jan 2007 07:56:08 -0800
From: Brian Dessent <brian AT dessent DOT net>
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>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
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

"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/

- Raw text -


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