Subject: Re: mount and ln commands
From: Brian Dessent <[email-masked]>
To: Cygwin List <[email-masked]>
Date: Tue, 18 Nov 2003 18:03:40 -0800

Larry Hall wrote:
> 
> At 01:43 PM 11/18/2003, [email-masked] 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/