From: gabriele renzi Date: 2003-11-27T00:07:16+09:00 Subject: Re: Stupid Question #498 - How do I move a directory? il Wed, 26 Nov 2003 23:25:02 +0900, "Allton, Paul" ha scritto:: >Preferably in a platform neutral manner, but it must definitely work on >windows. > > > >Where 'old' and 'new' are fully qualified directory names: > > > >- File.move(old, new) results in: > > > >C:/ruby/lib/ruby/1.8/ftools.rb:62:in `readlink': The readlink() function is >unimplemented on this machine (NotImplementedError) > > from C:/ruby/lib/ruby/1.8/ftools.rb:62:in `move' FileUtils.move dir1 dir2 seemto work for mw on winxp. Oh, now I understand why we have bot fileutils ans ftools :))