From: nobu.nokada@... Date: 2002-01-02T10:34:01+09:00 Subject: [ruby-talk:30008] Re: How to check free diskspace? At Wed, 2 Jan 2002 10:05:13 +0900, ptkwt@shell1.aracnet.com (Phil Tomson) wrote: > >> Yes, but I wonder, is this just something that cygwin is doing for us and > >when we start distributing Ruby binaries compiled with MSVC++ will we lose > >this feature? > > > >This worked on ruby 1.6.5 compiled in an msvc project: > > > >p File.new('c:/autoexec.bat').atime > > # => Fri Jun 08 15:26:16 GMT-8:00 2001 > > > > Are you running on WinNT|Win2k? I think they might accept '/' in place > of '\' anyway. Don't know about XP. Maybe it won't work on > Win[95|98|ME], but it would be interesting to test it. Not only Windows, DOS also have accepted '/' as directory separator. Just shells (command.com/cmd.exe/explorer) reject it. -- Nobu Nakada