$sPath ="C:\" ; Папка где находятся файлы
$search = FileFindFirstFile($sPath & "*.reg")
If $search = -1 Then
MsgBox(0, "Error", "No files/directories matched the search pattern")
Exit
EndIf
While 1
$file = FileFindNextFile($search)
If @error Then ExitLoop
;ShellExecute($sPath & $file,"",@SW_SHOW)
Run(@ComSpec & " /c " & "regedit -s " & $sPath & $file , "", @SW_HIDE)
WEnd
FileClose($search)