From: Thufir Date: 2008-02-16T08:58:41+09:00 Subject: Re: Counting the files in a directory.... On Sat, 12 Jan 2008 08:54:42 +0900, Siep Korteling wrote: > require 'win32ole' > fso = WIN32OLE.new("Scripting.FileSystemObject") folder = > fso.GetFolder("C:/WINDOWS/system32 puts folder.Files.count Oh, that's quite an interesting way to work with files and folders :) -Thufir