Hi,

At Sat, 14 Feb 2004 03:15:14 +0900,
Moran, Craig M (BAH) wrote in [ruby-talk:92804]:
> #/usr/bin/env ruby
> require 'ftools'
> 
> Dir.chdir("C:/Logfiles")
> files = Dir["*.log"]
> files.each {|file| system("\"/Program Files/WinZip/WZZIP.EXE\" -m
> \"C:\\Logfiles\\Archived.zip\" " +"\"" + file + "\"")}

You don't need ftools.rb here.

BTW, why isn't it enough with a batch file, or a shortcut?

@echo off
cd c:\LogFiles
"/Program Files/WinZip/WZZIP.EXE" -m C:\Logfiles\Archived.zip *.log


-- 
Nobu Nakada