循环注册多个 For %%a in (*.dll) do regsvr32.exe /s %%a For %%a in (*.ocx) do regsvr32.exe /s %%a start mshta vbscript:msgbox("注册完毕,请使用。",0,"控件修复程序")(window.close)