Registering a bunch of DLLs can be a pain in the ass. This DOS command will let you register all of the DLLs in a directory. NOTE: The /s switch is silent — it doesn’t report success or failure. It’s great when things work, but a failing registration can set you back a couple of hours if you’re not aware of it. To register all DLLs and report on the success or failure of fall, remove the “/s” from the command.
1 |
for %x in (d:\{directory}\*.dll) do regsvr32 /s %x |