delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/27/07:33:42

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
Date: Sun, 27 Aug 2000 04:30:39 -0700
Subject: Re: DOS filename vs POSIX filename
From: "Winbox X" <winbox AT onebox DOT com>
To: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Cc: "Winbox X" <winbox AT onebox DOT com>,
"cygwin AT sourceware DOT cygnus DOT com" <cygwin AT hotpop DOT com>
MIME-Version: 1.0
Message-Id: <20000827113004.CUCN2645.mta10.onebox.com@onebox.com>

unix_command c:\\usr\\src\\file.c work for bash, but I could
not include something like that in PATH because : is used to
separate different paths. Also in sh/make script, I have to use \ to
protect \. Once I have to use 8 \ in a row. :)
DJ in his email provided a net solution to this problem, as far
as your win32 applications accept POSIX path. Luckily this is
true for me.
Thanks,

-Mike


---- "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> wrote:
> At 02:50 PM 8/24/2000, Winbox X wrote:
> 
> >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
> >
> 
> 
> 
> cypath will convert between forms but why doesn't 
> "unix_command c:\\usr\\src\\file.c" work for you in bash?
> 
> 
> 
> Larry Hall                              lhall AT rfk DOT com
> RFK Partners, Inc.                      http://www.rfk.com
> 118 Washington Street                   (508) 893-9779 - RFK Office
> Holliston, MA 01746                     (508) 893-9889 - FAX
> 
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> 
> 

__________________________________________________
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

- Raw text -


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