From: "Morris, Chris" Date: 2001-10-19T23:39:38+09:00 Subject: [ruby-talk:22748] Re: File::SEPARATOR for W2k? > Windows API recognize both `/' and `\' as path separator. > So, this is not wrong behavior. I don't think this is so: Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\>cd /temp The syntax of the command is incorrect. C:\>cd \temp C:\temp> Of course, you said API, you may not be referring to the shell. But I think it's moot for me because ruby gets to Windows through cygwin which handles all of this and presents windows paths to Ruby with "/". > And, Ruby provides File::ALT_SEPARATOR for platform specific > path separator. Guy said it's nil for most platforms, I guess w2k is one of them: C:\>ruby -e 'p File::ALT_SEPARATOR' nil Chris