From: Simon Staton Date: 2009-08-14T17:27:12+09:00 Subject: Re: newbie question making a folder with ruby To give more of an idea this is the code that I have on the .rb file. it is a plugin im building for a program called google sketchup. status = UI.show_inspector "Components" toolbar = UI::Toolbar.new "Action 3D Toolbar" cmd = UI::Command.new("Export") { Sketchup.send_action(21237) } cmd.small_icon = "export.png" cmd.large_icon = "export.png" cmd.tooltip = "Save Climbing Frame As An Image" cmd.status_bar_text = "Testing the toolbars class" cmd.menu_text = "Test" toolbar = toolbar.add_item cmd toolbar.show 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. -- Posted via http://www.ruby-forum.com/.