Int 21H Function 56H
◄Summary► ◄Notes► ◄Example► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Description: Rename File
Renames a file and/or moves its directory entry to a different directory
on the same disk. In MS-DOS versions 3.0 and later, this function can
also be used to rename a directory.
Input Output
════════════════════════════ ══════════════════════════════
AH=56H If function successful
DS:DX=segment:offset of cur- Carry flag=clear
rent ASCIIZ pathname if function unsuccessful
ES:DI=segment:offset of new Carry flag=set
ASCIIZ pathname AX=error code
-♦-