This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Obtaining short DOS file names?
- To: "Cygwin Mailing List (E-mail)" <cygwin at sourceware dot cygnus dot com>
- Subject: Obtaining short DOS file names?
- From: Paul Stodghill <stodghil at cs dot cornell dot edu>
- Date: Wed, 31 May 2000 10:21:39 -0400
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?
E.g.,
c:\Program Files\Microsoft Visual Studio\ ->
c:\PROGRA~1\MICROS~4\
or
/cygdrive/c/Program Files/Microsoft Visual Studio/ ->
/cygdrive/c/PROGRA~1/MICROS~4/
Thanks.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com