delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <CE5C042F6A0CD411BBE000A0C9558F2C0C25DF@exchange.cs.cornell.edu> |
From: | Paul Stodghill <stodghil AT cs DOT cornell DOT edu> |
To: | "Cygwin Mailing List (E-mail)" <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | Obtaining short DOS file names? |
Date: | Wed, 31 May 2000 10:21:39 -0400 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2650.21) |
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 AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |