首页 > 技术文章 > 批量注册当前文件夹中的dll和ocx

yif1991 2018-01-24 11:18 原文

新建文件:RegisterDllAndOcx.bat如下

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

推荐阅读