On Sat, 25 Sep 2004 20:32:54 +0200, Brian Schroeder wrote:

> begin
>   File.delete(filename)
> rescue e => Errno::EACCESS

oops, that should have been
rescue Errno::EACCES => e


>   $stderr.puts "Could not delete"
> else
>   $stderr.puts "Successfully deleted"
> end
> 
> regards,
> 
> Brian

-- 
Brian Schröder
http://www.brian-schroeder.de/