Rename Files Section


RenFiles

[Rename-files-section-name]
new-file-name, old-file-name

Lists the names of files to be renamed.  The name of the section must appear in a Renfiles item in an Install section of the INF file.

new-file-name
New name of the file.

old-file-name
Old name of the file.

This example renames the files file42 to file41, file52 to file51, and file62 to file61 in the system folder:

[DefaultInstall]
RenFiles=RenameOldFilesSec

[RenameOldFilesSec]
file41, file42
file51, file52
file61, file62

[DestinationDirs]
RenameOldFilesSec=11

The folder where all the old filenames exist must be defined in a DestinationDirs section as shown in the above example.