This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: DOS filename vs POSIX filename
- To: winbox at onebox dot com
- Subject: Re: DOS filename vs POSIX filename
- From: "Noel L Yap" <yap_noel at jpmorgan dot com>
- Date: Thu, 24 Aug 2000 15:44:13 -0400
- cc: Cygwin at Sourceware dot Cygnus dot Com
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@onebox.com on 2000.08.24 14:50:48
To: cygwin@sourceware.cygnus.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@sourceware.cygnus.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@sourceware.cygnus.com