From: Farrel Lifson Date: 2007-10-17T00:07:15+09:00 Subject: Re: How distinguish between a file and a directory? File::directory?(path) will return true of name is a directory, false if it is a file Farrel