Hi,

-----Original Message-----
From: Rebhan, Gilbert [mailto:Gilbert.Rebhan / huk-coburg.de] 
Sent: Wednesday, February 07, 2007 11:28 AM
To: ruby-talk ML
Subject: Re: Parse csv similar file


/*
But therefore the .exe has to accept the parameters

SRCDIR, DSTDIR,EXT when calling it

<exec ...>
  <arg line="SRCDIR DSTDIR EXT"/>
</exec>

How to alter your class to achieve that ?
*/

OK, it works like that =

require 'fileutils'
SRCDIR=ARGV[0]
DSTDIR=ARGV[1]
EXT=ARGV[2]

converting *.rb to *.exe and call it
*.exe "/path_to_src" "/path_to_dst" ".extension"


thanks a lot for your help !!

Regards, Gilbert