PRB: "Warning File Exists" Message from Setup Wizard

Last reviewed: April 30, 1996
Article ID: Q124788
The information in this article applies to:
  • Microsoft FoxPro for Windows, version 2.6a

SYMPTOMS

The Setup Wizard generates the following error message when compressing files:

   Warning -- the file 'c:\compress\xxx2.db$' exists.
   Should I try to overwrite it? Yes or No?

CAUSE

The error message is generated because some of the files being compressed have filenames that end in a number -- such as WORDS1.DBF or WORDS2.DBF. When the files are compressed and split, the setup compression program numbers the split pieces of the file into FILENAME.XX$, FILENAM2.XX$, FILENAM3.XX$, and so on.

A two-megabyte file called WORD1.DBF will be split into WORD1.DB$ and WORD2.DB$. When the COMPRESS.EXE utility tries to compress a second file WORD2.DBF into WORD2.DB$ it will give the error message because the file WORD2.DB$ has already been created.

WORKAROUND

  • Don't use files that have a numeric ending.

    -or-

  • Rename files prior to running SETUP.APP, and create a batch file that will rename them back after SETUP.EXE finishes. When the Setup Wizard asks if there is a file to be run after installation is complete, give it the name of the batch file.

STATUS

This behavior is by design.


Additional reference words: FoxWin 2.60a
KBCategory: kbtool kbprb
KBSubcategory: FxtoolDk


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.

Last reviewed: April 30, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.