------ art_23411_20858458.1125900197027 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Not to be picky, but most of the above examples need another rescue statement or two. In particular, Dir.chdir(name) can throw an exception, at least on Windows XP: ================ Errno::EACCES ===================== C:\Documents and Settings\All Users\Documents\test.rb:10:in `chdir' Dir.chdir('c:/System Volume Information') C:\Documents and Settings\All Users\Documents\test.rb:10 Dir.chdir('c:/System Volume Information') c:\ruby\lib\ruby\site_ruby\1.8/rubygems/custom_require.rb:21:in `require__' require__ path c:\ruby\lib\ruby\site_ruby\1.8/rubygems/custom_require.rb:21:in `require' require__ path ============================================= Exception: Permission denied - c:/System Volume Information Wayne Vucenic No Bugs Software Ruby and C++ Contract Programming in Silicon Valley ------ art_23411_20858458.1125900197027--