From: Sak Na rede Date: 2008-11-30T03:01:44+09:00 Subject: Most used pwd in ruby Hi all! I have to program a lot of scripts, most of them work with files and folders. This files and the folders are in the directory of the script, it works well except if script is called from another directory. I solve this problem with: Dir.chdir("complete_path") I think this solution is not the best for a lot of reasons, how do you do that? Thanks!! -- Posted via http://www.ruby-forum.com/.