RegisterDllAndOcx.bat -批量注册当前文件夹中的dll和ocx

    批量注册当前文件夹中的dll和ocx

    新建文件:RegisterDllAndOcx.bat

  

@echo off
echo hello,girl~~
for %%i in (*.dll *.ocx) do (
echo %% register is starting...
C:WindowsSystem32
egsvr32.exe %%i /s
echo %%i register is finished...
)
pause

    备注:可根据显示需要,酌情修改~

原文地址:https://www.cnblogs.com/MakeView660/p/6065215.html