From: Fleck Jean-Julien Date: 2009-08-14T17:38:25+09:00 Subject: Re: newbie question making a folder with ruby Hello, > all that is doing is adding a new toolbar and opening somthing called a > components panel. now is it possible to add code in here that will > create a folder on there C: called temp and if it is already there dont > overwrite it. Sure. I'll suppose you are on a UNIX system type (I do not know that sort of thing on windows, perhaps, it is as simple as changing /temp by c:/temp or c:\temp) Just add: dir = "/temp" if File.exist?(dir) puts "#{dir} already exists !" else Dir.mkdir(dir) end Cheers, -- JJ Fleck PCSI1 Lycée Kleber