LINK Help (linkx.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
NAME Statement
 Example                                   Up Contents Index Back
─────NAME Statement─────────────────────────────────────────────────────────
 
     Syntax:  NAME [appname] [apptype] [NEWFILES]
 
     This statement identifies the executable file as an application.
     It can also specify the name and type. NAME or LIBRARY must
     precede all other statements. If NAME is specified, the LIBRARY
     statement cannot be used. If neither is used, the default is NAME.
     Fields can appear in any order.
 
     If <appname> is specified, it becomes the name of the application
     as it is known by OS/2 or Windows. This name can be any valid
     filename. If <appname> contains a space, begins with a
     nonalphabetic character, or is a reserved word, enclose <appname>
     in double quotation marks. The name cannot exceed 255 characters
     (not including surrounding quotation marks). The default is the
     base name of the executable file.
     See: Reserved Words
 
     If <apptype> is specified, it defines the type of application:
 
     <apptype>         Meaning
 
     WINDOWAPI         OS/2 Presentation Manager (PM) or Windows
                       application. The application uses the API
                       provided by PM or Windows and must be executed
                       in the PM or Windows environment. Equivalent to
                       the LINK option /PM:PM.
 
     WINDOWCOMPAT      Character-mode application to run in a text
                       window in the PM or Windows session. Equivalent
                       to the LINK option /PM:VIO.
 
     NOTWINDOWCOMPAT   Default. Character-mode application that must
                       run full screen and cannot run in a text window
                       in PM or Windows. Equivalent to the LINK option
                       /PM:NOVIO.
 
     Specify NEWFILES to tell the operating system that the application
     supports long filenames and extended file attributes, available
     under HPFS (high-performanance file system). The synonym LONGNAMES
     is supported for compatibility.
                                    -♦-