From: Dave Bass Date: 2008-07-14T23:44:00+09:00 Subject: Re: Newbie question - how to get current directory into a va Janus Bor wrote: >> p Dir.entries(".") #array containing files in current directory >> puts > > Will this work on Windows, too? Or is the "." a Linux specific thing? Works for me (WinXP, Ruby 1.8.6-111). Both "." and ".." work fine on Windows. Dave -- Posted via http://www.ruby-forum.com/.