From: "Morris, Chris" Date: 2002-03-13T22:37:41+09:00 Subject: RE: Deleting read only files on Windows > > Ruby 1.6.6 built with VC++ cannot delete read only files, > where as 1.6.5 > > cygwin could. > > > > deltest.rb------------------------------- > > > > puts RUBY_VERSION, RUBY_PLATFORM > > File.new("eraseme.txt", File::CREAT) > > File.chmod(0444, "eraseme.txt") > > puts Dir["eraseme.txt"] > > require 'ftools' > File.rm_f("eraseme.txt") Cool, thanks! Chris