From: Amit Tomar Date: 2010-10-04T22:16:33+09:00 Subject: Re: how do i delete files in particular directoryin ruby ??? Stefano Crocco wrote: > On Monday 04 October 2010, Amit Tomar wrote: >> |dir ="C:/Documents and Settings/x0100039/Local Settings/Temp" >> | from C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:1297:in >> |`each' >> | from C:/InstantRails-2.0-win/ruby/lib/ruby/1.8/fileutils.rb:548:in >> |`rm' >> | from ruby2.rb:8 >> | from ruby2.rb:5:in `each' >> | from ruby2.rb:5 > > Have you tried removing one of those files by hand? If that works, then > we now > the issue is with ruby. If it doesn't, you may get a clearer error > message > and, at least, we'll know the issue is not with your code. > > Stefano Stefano what you want to say is if we are not able to delete with hand ,we can cann't do it with code?????? -- Posted via http://www.ruby-forum.com/.