Hello Everyone,
I need to get a key and all of it's subkeys from the registry in XP. Does anyone know how to do this?
I want to backup a section of the registry by grabbing the key and all subkeys of that key.
The key has an undefined amount of subkeys, so grabbing each one is not an option.
Thanks for helping,
PepsiHog
Registry Help
Moderators: JRL, Dorian (MJT support)
Registry Help
Windows 7
PepsiHog. Yep! I drink LOTS of Pepsi (still..in 2024) AND enjoy programming. (That's my little piece of heaven!)
The immensity of the scope of possibilities within Macro Scheduler pushes the user beyond just macros!
PepsiHog. Yep! I drink LOTS of Pepsi (still..in 2024) AND enjoy programming. (That's my little piece of heaven!)
The immensity of the scope of possibilities within Macro Scheduler pushes the user beyond just macros!
- CyberCitizen
- Automation Wizard
- Posts: 724
- Joined: Sun Jun 20, 2004 7:06 am
- Location: Adelaide, South Australia
Code: Select all
C:\Documents and Settings\Administrator>reg export /?
Console Registry Tool for Windows - version 3.0
Copyright (C) Microsoft Corp. 1981-2001. All rights reserved
REG EXPORT KeyName FileName
Keyname ROOTKEY\SubKey (local machine only)
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]
SubKey The full name of a registry key under the selected ROOTKEY
FileName The name of the disk file to export
Examples:
REG EXPORT HKLM\Software\MyCo\MyApp AppBkUp.reg
Exports all subkeys and values of the key MyApp to the file AppBkUp.reg
FIREFIGHTER
@CyberCitizen,
Thanks for helping. But I was actually hoping not to have to go that route. I thought maybe the RegistryReadKey might be able to do it. Maybe not.
None the less, thanks for the help.
PepsiHog
Thanks for helping. But I was actually hoping not to have to go that route. I thought maybe the RegistryReadKey might be able to do it. Maybe not.
None the less, thanks for the help.
PepsiHog
Windows 7
PepsiHog. Yep! I drink LOTS of Pepsi (still..in 2024) AND enjoy programming. (That's my little piece of heaven!)
The immensity of the scope of possibilities within Macro Scheduler pushes the user beyond just macros!
PepsiHog. Yep! I drink LOTS of Pepsi (still..in 2024) AND enjoy programming. (That's my little piece of heaven!)
The immensity of the scope of possibilities within Macro Scheduler pushes the user beyond just macros!