\cygwin\usr\local\bin\ruby -S -x %0 %1 %2 exit #!ruby require 'md5' file = ARGV[0] data = File.open(file,'r').binmode.read tag = MD5.new(data).hexdigest BROWSER = "c:/'Program Files'/Netscape/Netscape/Netscp.exe" CGI = "http://pitecan.com/WikiHelp/programs/tag.cgi?tag=#{tag}" system "#{BROWSER} #{CGI}"