COM register from command line - EXE, DLL

To register or unregister a COM dll:
c:\>regsvr32 "C:\Windows\System32\My.dll"
c:\>regsvr32 /u "C:\Windows\System32\My.dll"


To register or unregister a COM exe server:
c:\>"C:\Program Files\MyAppLocation\app.exe" /REGSERVER
c:\>"C:\Program Files\MyAppLocation\app.exe" /UNREGSERVER


Comments