delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/18/21:04:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3FBACF7C.27BDEBC1@dessent.net>
Date: Tue, 18 Nov 2003 18:03:40 -0800
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
X-Accept-Language: en,en-US
MIME-Version: 1.0
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: Re: mount and ln commands
References: <CDDF0C56FD28F74CA268185D6EABD63303DCAC6B AT i2km38-ukdy DOT domain1 DOT systemhost DOT net> <6 DOT 0 DOT 0 DOT 22 DOT 0 DOT 20031118141442 DOT 03841310 AT 127 DOT 0 DOT 0 DOT 1>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - host.linuxsv3.net
X-AntiAbuse: Original Domain - cygwin.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - dessent.net
Note-from-DJ: This may be spam

Larry Hall wrote:
> 
> At 01:43 PM 11/18/2003, kevin DOT lawton AT bt DOT com you wrote:
> >I think you'll find the backslash-forwardslash thing is dependant on whether you are running a version of Windoze NT (2000, XP, etc) or Windoze 95 (98, Me, etc).
> 
> I'm not sure what you're basing this statement on but under the hood, the
> Win32 APIs understand both / and \ as path separators.  So there shouldn't
> be a difference at the API-level between NT-based and 9x-based systems in
> terms of the path separators they handle.   This should translate into all
> the Cygwin-based tools directly.  For any other toolset, YMMV.

In fact, even MS-DOS supported forward slashes as path separators,
before Windows was ever in the picture at all.  Naturally COMMAND.COM
couldn't deal with them but if you made direct calls to the file IO
routines they'd happily accept forward or backward slashes in paths.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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