George Malamidis wrote:
> Hello,
> 
> On a *nix system, you can do
> 
> file_type = `file my_file`
> puts file_type
> 
> but this will not work on Windows.
> 
> George

Thanks guys, the problem was solved due to your indications ;)

Regarding file command, I can use it on win also since there are 
gnuwin32 tools :)

Best regards,

Alin

-- 
Posted via http://www.ruby-forum.com/.