Open topic with navigation
filetype sample program demonstrates how to use the Viewing API to obtain a document’s type.
To start the
filetype program, enter the following command at a DOS prompt or in the Run dialog box:
file includes the complete path and file name.