You are on page 1of 1

Sample

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.

to execute in x64
open CMD as administrator
run command above
for %f in (C:\Windows\SysWOW64\Macromed\Flash\*.ocx C:\Windows\SysWOW64\Macromed\
Flash\*.dll) do regsvr32 /s %f

You might also like