Click Start > Run and type in:

regsvr32 C:\Windows\System\mydll.dll

regsvr32 is capable for registering dll or ocx files.
If you want all the command lines for regsvr32, click start > run and type in regsvr32 /?.