Windows:使用 Regsvr32 重新註冊目錄下所有 DLL檔或OCX檔

x64:
註冊目錄下所有 DLL檔:

for %1 in (%windir%\SysWOW64\*.dll) do regsvr32.exe /s %1

註冊目錄下所有 OCX檔:

for %1 in (%windir%\SysWOW64\*.ocx) do regsvr32.exe /s %1

x32:
註冊目錄下所有 DLL檔:

for %1 in (%windir%\system32\*.dll) do regsvr32.exe /s %1

註冊目錄下所有 OCX檔:

for %1 in (%windir%\system32\*.ocx) do regsvr32.exe /s %1
阅读剩余
THE END