From: Dirk Einecke Date: 2004-04-18T04:44:08+09:00 Subject: Re: Delete a directory with all sub-directories an files Hi Simon. Simon Strandgaard wrote: >>I would like to delete a directory. In this directory are other >>directories an files. So I have to delete this subdirectories an files >>at first. Now I search a good solution to solve this problem. My first >>idea was to look in the given directory and if there are subdirectories >>to look in this directories... Is this the right way? Is there a ready >>function for this little problem? Or has anybody written a function for it? >> > > > require 'fileutils' > FileUtils.rm_rf("somerandomdir") Sorry - I have not this library (and it is not possible to install this library). But I've ftools. Can me help this library? greetings Dirk Einecke