DOCUMENT:Q85944 11-OCT-1999 [win95x] TITLE :SETUP.INF: Specifying Directory in [RenFiles],[DelFiles] PRODUCT :Microsoft Windows 95.x Retail Product PROD/VER:WINDOWS:3.1 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Windows 3.1 ------------------------------------------------------------------------------- SUMMARY ======= To 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.FIL This 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 INFORMATION ================ The [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.inf Setup 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.INF The base string for the next entry is the following: C:\WINDOWS\SYSTEM\..\ Additional query words: 3.10 ====================================================================== Keywords : Technology : kbWin3xSearch kbZNotKeyword3 kbWin310 Version : WINDOWS:3.1 ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1999.