1 little known secret of regsvr32.exe

The little known secret of regsvr32.exe is…

You ready?

You can load multiple DLLs at the same time.

Yup. And not just one extra, but many.

Let’s have a look at an example:

regsvr32.exe c:\WINDOWS\system32\hhctrl.ocx foo

will first load c:\WINDOWS\system32\hhctrl.ocx and then foo.dll.

We can do it multiple times:

regsvr32.exe hhctrl.ocx hhctrl.ocx hhctrl.ocx hhctrl.ocx hhctrl.ocx foo