Martin Ankerl wrote: > I know that in Linux I > can get this path with > > Dir.chdir > homewd = Dir.pwd > > Does this work in windows too? I have currently no access to a windows > machine. Based on my test on Windows XP, yes. But you might want to use the following instead: home_dir = File.expand_path("~") Regards, Florian Gross