ARexx (52/77)

From:Neil Bothwick
Date:25 Apr 2001 at 15:17:44
Subject:Re: Identifying files

bgollesch said,

>> Can someone recommend a good system for identifying filetypes?
>> I'm particularly interesting in determining the formats of
>> graphics files, something that uses datatypes.library would
>> be good as it avoids other configuration files.

> AFAIK the datatype.library offers some function for ARexx.
> Take a look at the autodocs for datatype.library.

So it does, all I need is handled by

if ~show('L','datatypes.library') then call addlib('datatypes.library',0,-30)
type = ExamineDT(file,,VAR)

Cheers

Neil



Neil Bothwick - New Media Editor, Amiga Active Magazine

I'll try anything once too often.

ARexx mailing list - No flames, no overquoting, no crossposting.
Unsubscribe: Blank mail to mailto:arexx-unsubscribe@onelist.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/