This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mount and ln commands


Larry Hall wrote:
> 
> At 01:43 PM 11/18/2003, kevin.lawton@bt.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]