View Single Post
  #1  
Old 03-15-2006, 11:41 AM
wellilein wellilein is online now
Registered User
 
Join Date: 11-30-2005
Posts: 53
COM Register multiple files

I have a directory full of files which I need to register before I start the build process.
I cannot use the COM register action, because *.dll does not work (Exit code 3 / Failed to load DLL).

I am currently using a workaround
%DOSCMD% for %%d in ("C:\...\*.dll") do regsvr32 /s %%d

This would also work for a single DLL. Perhaps implementation can be changed to something similar like this. Please note that quotation marks are necessary for directory names with spaces.

Thanks,
Thomas
Reply With Quote