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.
@MakeFile Macro
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:   DOS.INC
 
  Syntax:    @MakeFile path [,[attrib] [,[segment] [,kind]]]
 
  Summary:   Creates a file
 
  Arguments: <path>        ASCIIZ string of file. Must be an offset
                           address.
 
             <attrib>      File attribute; 0 is default if none given.
 
             <segment>     Segment of address string; DS if not given.
 
             <kind>        If none given, a file is created even if one
                           already exists. Under DOS 3.x, "tmp" can be
                           given to create a unique file or "new" to
                           create a file only if one doesn't already
                           exist.
 
  Returns:   If carry: clear, file handle in AX
 
  Modifies:  AX, DX, CX; DS if segment changed
 
  See also:  Int 21h Functions 3Ch, 5Ah, and 5Bh, @OpenFile, @CloseFile
                                    -♦-