From: Alin Popa Date: 2007-06-19T17:15:51+09:00 Subject: Re: Check for text file 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/.