[Contents] [Index] [Help] [Browse <] [Browse >]
dopus getfiletype <filename> [id]

This command allows you to query a file to see if it is recognised by
Directory Opus 5.  filename  is the name of the file, including the full
path. By default, if the file is recognised the Filetype description string
will be returned in  RESULT . If you specify the  ID  keyword, the
Filetype ID will be returned instead.

For example,
        + dopus getfiletype ram:testfile.lha
        > LHA Archive 
        + dopus getfiletype ram:picture.jpg id
        > JPEG 


Converted on 04 Nov 1998 with RexxDoesAmigaGuide2HTML 2.2 by Michael Ranner.