From: Janus Bor Date: 2008-07-14T21:07:42+09:00 Subject: Re: Newbie question - how to get current directory into a va Sorry for raising this thread from the dead! 7stud -- wrote: > p Dir.entries(".") #array containing files in current directory > puts Will this work on Windows, too? Or is the "." a Linux specific thing? If it doesn't work on Windows, how can I get the absolute path of the scipt? Thanks! -- Posted via http://www.ruby-forum.com/.