[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Function 5Bh (91) Create New File . DOS 3.0
Create the specified file, if the file does not already exist.
On entry: AH 5Bh
CX File attributes
DS:DX Pointer to pathname (ASCIIZ string)
Returns: AX Handle
Error code, if CF is set
Error codes: 3 Path not found
4 No handle available
5 Access denied
80 File already exists
Call Function 59h for extended error code information.
Network: Requires Create access rights
--------------------------------------------------------------------------
This function will create a file if and only if it does not already
exist.
Note: This function is identical to Function 3Ch (Create
File) if the specified file does not already exist.
If the file does exist, however, this function will
fail, whereas 3Ch will truncate the existing file to
zero length, and then open it.
See Also:
16h
3Ch
5Ah
59h
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson