qa.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 17H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Rename File
 
  Alters the name of all matching files in the current directory on the
  disk in the specified drive.
 
  Input                         Output
  ═══════════════════════       ═════════════════════════════════════
  AH=17H                        If function successful (one or more
  DS:DX=segment:offset of        files renamed)
        "special" file          AL=00H
        control block           If function unsuccessful (no matching
                                 files, or new filename matched an
                                 existing file)
                                AL=FFH
                                    -♦-