Monday, February 23, 2009

Regsvr32 unregister + register from Windows Explorer

This article by John Howard explains how to add commands to Windows Explorer to unregister and register DLLs and OCX's. This way takes less time than typing all the names at the command line.

Save the text below as Shortcuts.reg or some other name and merge to add registry entries & the right click menus to Windows Explorer. The %1 should be in double quotes in case the path to the DLL contains spaces.

@="regsvr32.exe "%1""
@="regsvr32.exe /u "%1""

No comments: