Int 21/AH=17h

Prev Next Ralf Interrups Categories Contents

------

DOS 1+ - RENAME FILE USING FCB

AH = 17h
DS:DX -> modified FCB (see also #01345)
the old filename ('?' wildcards OK) is in the standard location
while the new filename ('?' wildcards OK, no drive) is stored
in the 11 bytes beginning at offset 11h

Return:
AL = status 00h successfully renamed FFh no matching files,file is read-only, or new name already exists

Notes: Subdirectories may be renamed using an extended FCB with the appropriate attribute, as may volume labels. DR DOS checks password attached with AX=4303h before permitting rename

See Also: AH=0Fh - AH=13h - AX=4303h - AH=56h - Category: DOS Kernel - Int 21h - D

------

Prev Next Ralf Interrups Categories Contents