Hi,
I found this script for exporting registry file as text from Smartee.
https://www.autoitscript.com/forum/topic/126953-export-several-registry-keys-into-one-file/
$path = @DesktopDir & "\registry.txt"
$cache = ""
ShellExecuteWait("regedit.exe", "/e "&$path&" HKEY_CLASSES_ROOT\.ico")
$cache &= FileRead($path)
ShellExecuteWait("regedit.exe", "/e "&$path&" HKEY_CLASSES_ROOT\.eml")
$cache &= FileRead($path)
ShellExecuteWait("regedit.exe", "/e "&$path&" HKEY_CLASSES_ROOT\.txt")
$cache &= FileRead($path)
FileOpen($path, 2)
FileWrite($path, $cache)
FileClose($path)
However, it is not working in my end. I can only export blank text. I am trying to export the registry from a distiller.
I also noticed the extensions(.ico, .eml and .txt) at the end of the key. However, this is not available in the distiller. Any suggestions?
$path = @ScriptDir & "\registry.txt"
$cache = ""
ShellExecuteWait("regedit.exe", "/e "&$path&" HKEY_CURRENT_USER\Software\Adobe\Acrobat Distiller\10.0\WatchedFolders\")
$cache &= FileRead($path)
FileOpen($path, 2)
FileWrite($path, $cache)
FileClose($path)