delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
X-Originating-IP: | [195.224.233.3] |
From: | "John Vincent" <jpv50 AT hotmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cygwin and long filenames with spaces |
Date: | Thu, 08 Aug 2002 16:22:52 +0000 |
Mime-Version: | 1.0 |
Message-ID: | <F253qji8ThFuqpHPehV000034cf@hotmail.com> |
X-OriginalArrivalTime: | 08 Aug 2002 16:22:52.0993 (UTC) FILETIME=[D8805B10:01C23EF7] |
>From: Christopher Faylor <cygwin AT cygwin DOT com> >Reply-To: cygwin AT cygwin DOT com >To: cygwin AT cygwin DOT com >Subject: Re: cygwin and long filenames with spaces >Date: Thu, 8 Aug 2002 11:09:14 -0400 > >On Thu, Aug 08, 2002 at 06:38:14AM -0700, Michael A Chase wrote: > >On Thu, 8 Aug 2002 14:12:51 +0100 Chris Game <chrisgame AT bigfoot DOT com> >wrote: > > > >> How can you pass long filenames which include spaces to cygwin/bash > >> commands like 'ls' under MS-Windows? Neither escaping the spaces, nor > >> enclosing the filename in single or double quotes seems to work. I > >> have to use the old DOS style short filename like /cygdrive/Docume~ > >> 1/... which can be a nuisance. > > > >Quoting the entire file specification or escaping the spaces with '\' are > >the normal ways that spaces in file or directory names are handled. Can > >you send us the exact sequence of commands you are trying that are not > >working as you expece? > >Quoting spaces with \ doesn't work from the command line on cygwin. >Quoting >the entire specification does, e.g. > >ls -l "/cygdrive/c/Program Files" I find that it works for me, e.g. ls -l /cygdrive/c/Program\ Files /John Vincent > >cgf > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |