Your strategic advantage starts here

Register or Unregister DLLs in a Folder

Register or Unregister DLLs in a Folder

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"
)

 

Related Posts
Leave a Reply
Give us a call

Available from 9am to 8pm, Monday to Friday.

Send us a message

Send your message any time you want.

Our usual reply time: 1 Business day
Give us a call

Available from 9am to 8pm, Monday to Friday.

Send us a message

Send your message any time you want.

Our usual reply time: 1 Business day