DOS Fn 5bH: Create New File
Compatibility: 3.0+
Expects: AH 5bH
DS:DX address of an ASCIIZ▲ string of a filespec
CX file attribute
──────────────────────────────────────────────────────────────────
Returns: AX error code if CF is set to CY
file handle (if no error)
──────────────────────────────────────────────────────────────────
Info: This call is identical to DOS Fn 3cH (create file), except that
it will fail if the file already exits on the named drive and
directory.
DS:DX points to an ASCIIZ string in the form...
d:\path\filename.ext0
If the drive or path is omitted, defaults are assumed.
The file is opened for read/write in compatibility Access Mode.
Fn 6cH has a options which include this capability.
See Also: Handle-Oriented File I/O
DOS Functions
-♦-