albatro44 Posted October 28, 2016 Share Posted October 28, 2016 Can I back up file registry file automate (create .bat action ) HKEY_CURRENT_USER\Software\Foxit Software\Foxit Reader 7.0\Preferences\History ------- sorry my bad english Link to comment Share on other sites More sharing options...
user@nsaneforums Posted October 28, 2016 Share Posted October 28, 2016 reg.exe export "HKEY_CURRENT_USER\Software\Foxit Software\Foxit Reader 7.0\Preferences\History" "C:\history.reg" https://technet.microsoft.com/en-us/library/cc742017(v=ws.11).aspx Link to comment Share on other sites More sharing options...
albatro44 Posted October 28, 2016 Author Share Posted October 28, 2016 thank you very much , problem was solved Link to comment Share on other sites More sharing options...
Kalju Posted October 28, 2016 Share Posted October 28, 2016 For example full registry backup @echo off setlocal set BackupFolder=C:\Registry Backup if not exist "%BackupFolder%" md "%BackupFolder%" for %%a in (HKLM HKCU HKCR HKU HKCC) do ( echo Exporting %%a to %BackupFolder%\%%a.reg ... if exist "%BackupFolder%\%%a.reg" del "%BackupFolder%\%%a.reg" %Systemroot%\system32\reg.exe export "%%a" "%BackupFolder%\%%a.reg" ) pause If use Notepad, "Save as" RegistryBackup.cmd or RegistryBackup.bat, All Files (*.*), Encording UTF-8 If is needed, may add command to open Folder. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.