How to register dll or ocx file | Windows 10

Опубликовано: 11 Июль 2020
на канале: kortex
21,066
68

Code for dll and ocx registration:

%f in (c:\windows\system32\*.ocx c:\windows\system32\*.dll) do regsvr32 /s %f

Of you are using 64 bit system, out dll or ocx file in c:\\windows\syswow64 folder and use this code:
for %f in (c:\windows\sysw
ow64\*.ocx c:\syswow64\system32\*.dll) do regsvr32 /s %f

Dll and OCX files are important files in Windows, but they will not work unless you register them. With few command lines register all dll and ocx files.