This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Obtaining short DOS file names?
- To: "Cygwin Mailing List (E-mail)" <cygwin at sourceware dot cygnus dot com>
- Subject: Re: Obtaining short DOS file names?
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Wed, 31 May 2000 10:29:40 -0400
- Cc: stodghil at cs dot cornell dot edu
- References: <CE5C042F6A0CD411BBE000A0C9558F2C0C25DF@exchange.cs.cornell.edu>
- Reply-To: cygwin at sourceware dot cygnus dot com
On Wed, May 31, 2000 at 10:21:39AM -0400, Paul Stodghill wrote:
>I'm working with some shell scripts under Cygwin that do not handle spaces
>in file names very well. "No problem," I think, "I'll just use the short
>versions of the file names".
>
>Is there anyway to obtain the short version of a file name from the long
>version within a shell script?
There is no cygwin-specific way of getting the short file name. The concept
has no meaning on UNIX. There are Windows programs available which do this.
'dir' is one of them, for instance.
Is there some reason why quoting the filename doesn't work?
cgf
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com