/build/static/layout/Breadcrumb_cap_w.png

Registering and unregistering .DLL files Quickly

Hi,

Any solution to register n no. of dll at the same time? Like needs to write any script for it?

Coz it’s too time consuming if I register dll one by one by using regser32 path syntax.

Please tell me any sol for it.

Thanks in Advance.

0 Comments   [ + ] Show comments

Answers (4)

Posted by: anonymous_9363 15 years ago
Red Belt
0
Surely you just need to loop through the folder, looking for any file with a DLL extension and then execute RegSvr32 against it? Find a script that enumerates files in a folder and edit that to suit your requirement.

Once you have done that, you can learn how to do it properly, i.e. by ensuring that the file in question contains the DLLRegisterServer entry-point before attempting to register it.
Posted by: Jamie B 15 years ago
Orange Senior Belt
0
You could use this string in a batch file to silently register all dll's and ocx's in the current directory.

for %i in (*.dll;*.ocx) do regsvr32 /s %i
Posted by: Bhaktiratna 15 years ago
Senior Yellow Belt
0
Well…thx. A lot ..i have done it and it’s working..[:)]
Posted by: AngelD 15 years ago
Red Belt
0
Bhaktiratna,

Why not rate the post that helped you in that case!?

/Kim
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ