shell Register a DLL

@Echo off
Echo Stopping IIS
iisreset /stop
Echo IIS Stopped, Copying DLL
Copy \\server\share\example.dll C:\path-to-dll\
Echo DLL Copied, registering DLL
regsvr32.exe example.dll /s
iisreset /start
Echo Finished
Use the above script within a .bat file to register a DLL on a Windows server/workstation.

Updated: Tuesday 5th October 2010, 06:44pm

There are 0 comments

Leave a comment of your own

Comments are currently closed.