[File.GetType](filename)
|
Returns the file type. The following file formats are supported:
•Microsoft Office (PowerPoint, Word, Excel, Access, including Word2007, Word2007MacroEnabled, WordTemplate, Word2007Template, Word2007TemplateMacroEnabled, Excel2007, Excel2007MacroEnabled, Excel2007Template, ExcelTemplate, PowerPoint2007, PowerPointTemplate, PowerPoint2007Template)
•OpenText's ApplicationXtender Foreign File Format
•PDF, TIF, TXT, HTML, XML, JPG, GIF, RTF, PostScript,
•Image Formats: Bitmap, PNG, ZIP, Outlook, Email,
•Video Formats: WindowsMediaAudio, WindowsMediaVideo, Quicktime, MPEG4, MP4Audio, MP4Video, MPEG, MP3, WAV, AVI
Parameter(s)
filename - Typically this would be the filename of the current document {fdocname}, but can be any file on the system.
|