Google Reviews
If you find this content or our services useful, please leave us a review.

Sometimes when we’re debugging an application we might want to ensure that every DLL (or OCX) is registered correctly.  And rather than registering each assembly manually we can write a batch file to register or unregister DLLs in a folder:

@echo off

for %%v in ("C:\Program Files\Alkane\*.dll") do (
 	REM (unregister) regsvr32 /u /s "%%v"
	regsvr32 /s "%%v"


Register or Unregister DLLs in a Folder
Comments have now been disabled. If you have a question to ask about this post please ask the community!