From: Albert Schlef Date: 2010-02-11T05:41:38+09:00 Subject: Re: Need Code to Create Directory Picking Dialog Box Alex DeCaria wrote: > I have a Ruby program and want to be able to pick a directory using a > dialog box. Does anyone have a quick, easy piece of code that will And here's how to do it in Ruby/Tk: require 'tk' TkRoot.new.withdraw # Get rid of the root window. dir = Tk.chooseDirectory puts dir (There's also getOpenFile() and getSaveFile().) -- Posted via http://www.ruby-forum.com/.