Hello friends
how to make backup from regedit by cmd?
how to make backup from regedit by cmd?
Moderator: DosItHelp
-
- Posts: 84
- Joined: 08 Sep 2010 10:25
- Location: Iran,Kashan
- Contact:
Re: how to make backup from regedit by cmd?
Code: Select all
regedit /e "%userprofile%\desktop\all.reg"
This creates all.reg on your desktop. Note, it needs a lot of time (probably longer than a minute). The file is big enough that an editor will have problems to open it.
Regards
aGerman
-
- Posts: 84
- Joined: 08 Sep 2010 10:25
- Location: Iran,Kashan
- Contact:
Re: how to make backup from regedit by cmd?
thank u
1-
but what about when i want to backup just a part of registry? for example:
HKEY_CURRENT_CONFIG\Software
2-
is it possible to get backup from regedit in a bat file?
1-
but what about when i want to backup just a part of registry? for example:
HKEY_CURRENT_CONFIG\Software
2-
is it possible to get backup from regedit in a bat file?
Re: how to make backup from regedit by cmd?
1-
2-
I don't get it. You can write the command line into a batch file.
To import a .reg file into your registry use
But it makes no sense to export registry keys into a .bat file, because the result is not a batch code.
Regards
aGerman
Code: Select all
regedit /e "%userprofile%\desktop\HCCSW.reg" "HKEY_CURRENT_CONFIG\Software"
2-
I don't get it. You can write the command line into a batch file.
To import a .reg file into your registry use
Code: Select all
regedit /s "%userprofile%\desktop\HCCSW.reg"
But it makes no sense to export registry keys into a .bat file, because the result is not a batch code.
Regards
aGerman
-
- Posts: 84
- Joined: 08 Sep 2010 10:25
- Location: Iran,Kashan
- Contact: