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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Frank Schmitt Subject: Re: quoting windows pathnames Date: Mon, 26 May 2003 22:43:38 +0200 Organization: Hamme net, kren mer och nimmi Lines: 16 Message-ID: References: <000501c323bc$e0dbf080$aa6bd6d1 AT dell03> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:N5CLt+b/uNtmGMeb5jlGqLzkUOo= X-Posting-Agent: Hamster/2.0.0.1 "Charles D. Russell" writes: > Since switching to Windows XP, I am forced to use pathnames with spaces. In > .profile, how do you quote a pathname with spaces so that cd $DIRNAME and > ls $DIRNAME will work? I can write a $DIRNAME that will work in makefiles > or when invoked from the bash shell as ls "$DIRNAME", but I can't find a way > that lets me omit the quotes when using ls from the shell prompt. Silly question but why do you _have_ to use paths with spaces in them under Windows XP? It's possible to change e.g. the default programs directory from e.g. C:\Program Files\ to C:\Programs\, the same stands for the other standard directories. -- WANTED: A nice signature REWARD: none -- 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/