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.
Seealso:
This page last updated on Fri Nov 30 10:49:50 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster