Jump to content
Sign in to follow this  
ricktendo

[Tutorial] INF Part-4 "RenFiles"

Recommended Posts

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 system32 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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...