delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/24/15:57:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Lotus-FromDomain: JPMORGAN AT SMTP
From: "Noel L Yap" <yap_noel AT jpmorgan DOT com>
To: winbox AT onebox DOT com
cc: Cygwin AT Sourceware DOT Cygnus DOT Com
Message-ID: <85256945.006C6940.00@nyc-ntgw-n01.ny.jpmorgan.com>
Date: Thu, 24 Aug 2000 15:44:13 -0400
Subject: Re: DOS filename vs POSIX filename
Mime-Version: 1.0

You should be able to do something like:
dos_command `cygpath -w -p /usr/src/file.c`

assuming, of course, that you're in a non-DOS shell.  I know it's pretty messy
and it's a lot of typing, but if you can find a better way, please let me know
'cos I'd also like to get a nice transparent way of doing this so my makefiles
are more portable.

Noel




winbox AT onebox DOT com on 2000.08.24 14:50:48

To:   cygwin AT sourceware DOT cygnus DOT com
cc:   (bcc: Noel L Yap)
Subject:  DOS filename vs POSIX filename





Is there method to name a path so that both cygwin commands and my
old legacy win32 commands both understand? Right now I have to use
different path names for the same file, some like
unix_command /usr/src/file.c for bash
dos_command c:\\usr\\src\\file.c for dos

thanks,

-Mike


__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com






This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its
subsidiaries and affiliates.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019