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
C:
cd\path-to-dll\
regsvr32.exe example.dll /s
iisreset /start
Echo Finished
pause
Use the above script within a .bat file to register a DLL on a Windows server/workstation.

Updated: Tuesday 5th October 2010, 07:48pm

There are 0 comments

Leave a comment of your own

Comments are currently closed.