08/10/04 02:44:59
>>335
WindowsでRubyならWIN32OLEで一択.
require 'win32ole'
fso = WIN32OLE.new('Scripting.FileSystemObject')
shell = WIN32OLE.new('WScript.Shell')
Dir.glob('text/*.txt').each do |path|
shell.Run(fso.GetAbsolutePathName(path))
end
下記記事も参照すると吉
URLリンク(jp.rubyist.net)