SETUP.INF: Specifying Directory in [RenFiles],[DelFiles]Last reviewed: November 21, 1994Article ID: Q85944 |
The information in this article applies to:
SUMMARYTo add a file, which resides in a directory other than the Windows SYSTEM subdirectory, to the list of files that are deleted or renamed by Windows 3.1 Setup, add the path relative to the SYSTEM directory to the filename. For example:
..\ONE.FILThis entry causes Setup to look for ONE.FIL in the parent directory of the Windows \SYSTEM subdirectory. It also changes the default directory so that Setup looks in this directory for all files subsequently listed.
MORE INFORMATIONThe [DelFiles] section of the SETUP.INF file has a sample of this, which is documented by the following comment in the text of the [DelFiles] section:
;All files listed AFTER this point will be deleted from Windows dir. ;WARNING: The "..\" is needed, the code depends on it!!! ..\setup.infSetup is appending the string from the list to the following base string, then using the final string to provide the path to the filename to be deleted or renamed:
C:\WINDOWS\SYSTEM\Note: This assumes you have specified C:\WINDOWS as the path for Windows 3.1. After the Setup has appended ..\setup.inf to the above string, the string appears as follows:
C:\WINDOWS\SYSTEM\..\SETUP.INFThe base string for the next entry is the following:
C:\WINDOWS\SYSTEM\..\ |
KBCategory: kbsetup
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |