Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: Frank Schmitt <ich@Frank-Schmitt.net>
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: <u8ystqw05.fsf@hschmi22.userfqdn.rz-online.de>
References: <000501c323bc$e0dbf080$aa6bd6d1@dell03>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: usenet@main.gmane.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" <worwor@bellsouth.net> 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/

