From: Masaki Suketa Date: 2000-11-12T10:13:54+09:00 Subject: [ruby-talk:6286] Re: Dir.mkpath Hello, Aleksi. In message "[ruby-talk:6284] Dir.mkpath" on 00/11/12, Aleksi Niemel� writes: > May I propose an add to standard library, namely method mkpath to class D- ir. > (For non-unix-persons, the method makes all the directories needed to have > all directories in the given path.) Here's a definition (just hacked, once > tested, so beware): You can use File.makedirs of ftools.rb (but not Dir.makedirs). require 'ftools' File.makedirs("dir1/dir2/dir3") Thank you. Masaki Suketa