RegisterDllAndOcx.bat -批量注册当前文件夹中的dll和ocx
批量注册当前文件夹中的dll和ocx
新建文件: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
备注:可根据显示需要,酌情修改~
希望大家能把自己的所学和他人一起分享,不要去鄙视别人索取时的贪婪,因为最应该被鄙视的是不肯分享时的吝啬。