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 5Ah
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The ASCIIZ path supplied to this function should be followed by at
     least 13 additional bytes of buffer space. MS-DOS adds a backslash
     (\) to the supplied path if necessary, then appends a
     null-terminated filename that is a function of the current time.
 
     Files created with this function are not automatically deleted
     when the calling program terminates.
 
     The function fails if
 
        ■ Any element of the path name does not exist.
        ■ The file is being created in the root directory and the root
          directory is full.
 
     [Version 3.0+]
     If the program is running on a network, the file is created and
     opened for read/write access in compatibility sharing mode.
                                    -♦-