CODE: [Copy to clipboard]@echo off for /f "delims=" %%i in ('dir /s/b/a-d %windir%\system32\*.dll') do regsvr32 /s "%%i"