Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 21h Function 13h
 Detail Example                          Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   13h
 
  Title:       Delete File
 
  See also:    Delete File (handle)
 
  Description:
 
     Deletes all matching files from the current directory on the
     default or specified disk drive.
 
     Input                          Output
 
     AH = 13h                       If function successful (file or
     DS:DX = segment:offset of      files deleted)
             file control block       AL = 00h
 
                                    If function unsuccessful (no
                                    matching files were found, or
                                    at least one matching file was
                                    read-only)
                                       AL = FFh
                                    -♦-