From: Eric Schwartz Date: 2006-02-02T06:42:21+09:00 Subject: Re: check for and if not there, create direcory and file charlie bowman writes: > irb(main):002:0> Dir.mkdir(".timeclock") > won't the above faile once the directory is created. I need to run a > check each time the application is ran. That is why you use the File.exist?(".timeclock") method first, and only run the mkdir if the exist? method returns false. -=Eric