How to Register All DLL or OCX Files in a Directory

Occasionally one of my applications may not work correctly, throw a DLL error or OCX error. I’ll re-register that, then another will pop up. The quick fix is to just re-register all the DLL and/or OCX files in the directory.

  1. Open a command prompt as a computer administrator
  2. Browse to the directory that contains the offending DLL and/or OCX files
  3. Run this command (substitute ocx for dll if that’s what you’re trying to register):
     for %1 in (*.dll) do regsvr32 /s %1

 

Read More

Leave a Reply

Your email address will not be published. Required fields are marked *