Assembly Language Help (alang.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.
Int 21h Function 16h
 Summary                                   Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     This function also opens the file; a subsequent call to Int 21h
     Function 0Fh is not required.
 
     Since an existing file with the specified name is truncated to
     zero length (all data in that file is irretrievably lost), this
     function must be used with caution.
 
     If this function is called with an extended file control block
     (FCB), the new file may be assigned a special attribute such as
     hidden or system during its creation by setting the appropriate
     bit in the extended FCB's attribute byte.
 
     For format of directory time and date, see Int 21h Function 57h.
 
     Int 21h Functions 3Ch, 5Ah, 5Bh, and 6Ch, which provide full
     access to the hierarchical directory structure, should be used
     instead of this function.
 
     [Version 3.0+]
     If the program is running on a network, the user must have Create
     rights to the directory that will contain the new file.
                                    -♦-