RENAMEFCB STRUC
renDriveID db ? ;drive no. (0=default, 1=A, etc.)
renOldName db '????????' ;old filename
renOldExtent db '???' ;old file extension
renReserved1 db 5 dup(?) ;reserved
renNewName db '????????' ;new filename
renNewExtent db '???' ;new extension
renReserved2 db 9 dup(?) ;reserved
RENAMEFCB ENDS
The RENAMEFCB structure contains the old and new names for a file that is being renamed.
renDriveID
Specifies the drive number (0 = default, 1 = A, 2 = B, and so on).
renOldName
Specifies the old filename. If the filename has fewer than eight characters, space characters (ASCII 20h) must fill the remaining bytes.
renOldExtent
Specifies the old extension. If the extension has fewer than three characters, space characters must fill the remaining bytes.
renReserved1
Reserved; do not use.
renNewName
Specifies the new filename. If the filename has fewer than eight characters, space characters must fill the remaining bytes.
renNewExtent
Specifies the new extension. If the extension has fewer than three characters, space characters must fill the remaining bytes.
renReserved2
Reserved; do not use.
Interrupt 21h Function 17h Rename File with FCB