From: Gianluca Rettore Date: 2010-05-15T02:38:16+09:00 Subject: Re: Problem ruby pwd in different directory Luis Parravicini wrote: > On Fri, May 14, 2010 at 1:30 PM, Gianluca Rettore > wrote: >> >> => c:\temp >> >> Can you help me???? > > Dir.pwd gives the current working directory. To get the directory of > the script you are running you can use File.dirname(__FILE__) Yessss Thank you very much! now is all ok! :-D -- Posted via http://www.ruby-forum.com/.