◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── The function fails if ■ Any element of the pathname does not exist. ■ The file is being created in the root directory and the root directory is full. ■ A file with the same name and the read-only attribute already exists in the specified directory. ■ [Version 3.0+] The program is running on a network and the user running the program has insufficient access rights. If the volume label or directory bits are set in the file attribute passed in register CX, they are ignored by MS-DOS. A file is usually given a normal (00h) attribute when it is created. The file's attribute can subsequently be modified with Int 21h Function 43h. [Version 3.0+] A volume label can be created using an attribute of 0008h if one does not already exist. When files are created, bit 3 of the attribute parameter should always be clear (0). [Version 4.0+] Int 21h Function 6Ch combines the services of Functions 3Ch, 3Dh, and 5Bh. -♦-