none
Export multiple keys from the registry with a batch file

    Question

  • Hi everyone

     

    I know how you can export a value from the Registry with a batch file.

    regedt32.exe /e "Run.txt" "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run"

    But how to export two different keys from the Registry to the same txt file at once with a batch file?

    For example :

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

    and

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

     

    Thanks

    'Angel

    Friday, December 02, 2011 7:01 PM