◄Detail► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Interrupt: 21h Function: 56h Title: Rename File See also: @MoveFile Description: 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 Carry flag: clear current ASCIIZ path name ES:DI = segment:offset of new If function unsuccessful ASCIIZ path name Carry flag: set AX = Error code (02h, 03h, 05h, or 11h) See: ◄Error codes► -♦-