Mail Archives: cygwin/2000/08/24/15:57:57
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 -