Re-Registering .REG Files

Last reviewed: May 8, 1995
Article ID: Q82814
The information in this article applies to:
  • Microsoft Windows operating system versions 3.1, 3.11

SUMMARY

Shell (for example, Program Manager) and OLE registration information is stored in .REG files that are used by the Registration Editor (REGEDIT.EXE) to add information to the registration database, REG.DAT. There is no difference between the way the Microsoft Windows version 3.1 Setup program originally registers this information and the way an application can be re- registered.

MORE INFORMATION

The Windows 3.1 Setup program calls WinExec("REGEDIT /S /U SETUP.REG", ...). This executes REGEDIT.EXE under Windows. This is the same as choosing Run from the File menu of either Program Manager or File Manager and typing the following line in the Command Line box:

   REGEDIT SETUP.REG

Therefore, if your registration information for Windows 3.1 accessory applications (ONLY those applications that ship with Windows 3.1, such as Paintbrush and Write) has been lost, you can restore it by typing the above line in the Command Line box as described above.


KBCategory: kbenv kbdisplay kbole
KBSubcategory: win31 winshell
Additional reference words: 3.10 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.

Last reviewed: May 8, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.