From: Steve Merrick Date: 2002-06-20T05:26:31+09:00 Subject: Newbie question My first Ruby program is an equivalent of the MS-DOS 'dir' command - just for learning purposes, you understand! ;-) I can't seem to find the method that will tell me whether or not a file exists. File.stat("filename").file? (and similar methods) throw a system error if the file doesn't exist. Help a newbie out? TIA. :-) -- Steve Merrick "Who cares, wins"