From: Gianluca Rettore Date: 2010-05-15T01:30:23+09:00 Subject: Problem ruby pwd in different directory Hi my problem is this i have a script in direcory ex c:\temp\pippo.rb this script have this code a= Dir.pwd() puts a if i exec a script from another directory there is a problem. The script write a path of ruby exec and not the path of script ex c:\nano\ruby ..\temp\pippo.rb => c:\nano i want => c:\temp Can you help me???? Thank you in advance! -- Posted via http://www.ruby-forum.com/.