http://qs321.pair.com?node_id=389241


in reply to tree backup script - file type problem

A1 File::MimeInfo::Magic does what you want and works on Win32.

cheers

tachyon