Click here to monitor SSC

Software Developer - Red Gate Software

Wild card registering COM dlls

Published 23 November 2005 1:04 pm
When developing a COM based application sometimes it’s sometimes useful to register all the DLLs/OCX at once.
From a command prompt
C:develepprojectrelease>for %i in (*.dll,*.ocx) do regsvr32.exe %i /s
This will try to register all dll’s even if they are not COM dlls. This is fine as the registration will fail silently.You can change the above command to register COM servers eg
C:develepprojectrelease>for %i in (*.exe) do %i -RegServer 

Leave a Reply