KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q63234: PWB BACKUP.BAK Does Not Create Backup of Source File Correctly

Article: Q63234
Product(s): See article
Version(s): 1.00   | 1.00
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER| buglist1.00 | mspl13_basic
Last Modified: 24-JUL-1990

Version 1.00 of the Programmer's Workbench does not create a backup of
your source file correctly if the PROJECT.MAK has the same base name
as the SOURCE.C file. When you build or rebuild the project, the file
saved as your backup is a copy of the CURRENT.STS file.

A workaround to this problem is to name your PROJECT.MAK with a
different base name than your SOURCE.C file. This will still save a
copy of your CURRENT.STS file with the base name of the PROJECT.MAK.
However, it will correctly save a backup of the SOURCE.C as
SOURCE.BAK.

Microsoft has confirmed this to be a problem in version 1.00 of the
Programmer's Workbench and will post new information here as it
becomes available.

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 1986-2002.