Accessing and Modifying Files
The following guidelines apply to driver package components when they access or modify files:
Files should be modified only by using INF directives within an INF file. For example, use the INF CopyFiles directive to copy files and the INF RenFiles directive to rename files.
Files that appear in an INF CopyFiles directive must not also appear in an INF RenFiles or DelFiles directive in the INF file.
Important The INF RenFiles and DelFiles directives must be used carefully. You should not use these directives in the INF file for a Plug and Play (PnP) function driver.
Send comments about this topic to Microsoft