Function 41h Delete A File From A Specified Subdirectory (UNLINK)
entry AH 41h
DS:DX pointer to ASCIIZ filespec to delete
return CF 0 successful
1 error
AX error code if any (2, 5)
note 1) This function will not work on a file marked read-only
2) Wildcards are not accepted
3) DOS does not erase the file's data; it merely becomes inaccessible
because the FAT chain for the file is cleared.
4) Deleting a file which is currently open may lead to filesystem
corruption. Unless SHARE is loaded, DOS does not close the handles
referencing the deleted file, thus allowing writes to a nonexistant file.
5) Under DR DOS and DR Multiuser DOS, this function will fail if the file
is currently open
file: /Techref/INT/21f/41.htm, 0KB, , updated: 1999/6/11 08:19, local time: 2024/11/16 04:34,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/techref/INT/21f/41.htm"> INT 21f 41</A> |
Did you find what you needed?
|