Solved Can you combine several different *.reg files into one reg file

trinaz

New member
Member
VIP
Local time
12:33 PM
Messages
477
Location
Phoenix
I have a couple dozen three or four line separate reg files...is there a way to "auto-combine" these separate reg files into one complete reg file containing all the keys, etc...so I don't have to import each reg file separately into the main registry ?

Or do I have to copy/paste each separate key, etc...into one main reg file via notepad ??

Thanks...TRinAZ
 

My Computer My Computer

At a glance

Windows 7 Pro 64bit SP1AMD FX-6100 Six-Core Processor2ea Corsair-1333MHz-PC3-10666-240-pin-CMX4GX3...NVIDIA GeForce GT 630 - 1023MB (EVGA)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built
OS
Windows 7 Pro 64bit SP1
CPU
AMD FX-6100 Six-Core Processor
Motherboard
M5A78L-M LX PLUS
Memory
2ea Corsair-1333MHz-PC3-10666-240-pin-CMX4GX3M1A1333C9
Graphics Card(s)
NVIDIA GeForce GT 630 - 1023MB (EVGA)
Sound Card
OnBoard Via High Def Audio
Monitor(s) Displays
Samsung 204B main - ASUS VS228 secondary
Screen Resolution
1920x1080 main - 1920x1080 secondary
Hard Drives
Samsung SSD 840 128GB Win7 Pro 64bit - Western Digital WDC 465GB - Seagate 640GB Sata B/U - Maxtor 500GB Sata B/U - Maxtor 200GB Sata
PSU
Antec 650 watt
Cooling
Multiple case fans
Keyboard
MS USB dual Wireless Keyboard - IntelliType Pro
Mouse
MS USB dual Wireless Mouse - IntelliPoint
Internet Speed
Cox Cable
Antivirus
Bitdefender IS 2014
Browser
FireFox Primary - IE 11
Other Info
Hauppaguge Win TV HVR-1250 (Model 22xxx, Hybrid ATSC/QAM)
Samsung HD103SI USB 1TB Desktop Drive - Backup & Disk Image storage
Sure. All the .reg files start with Windows Registry Editor Version 5.00, a blank line and then the data.

Start a new AllInOne.reg file in notepad.
Copy and paste the first one completely.
Copy and paste each of the other .reg files below that, skipping the Windows Registry Editor Version 5.00 line.

Backup the registry then merge the AllInOne.reg file then check each key to make sure you got what you expected.

To backup the registry, start regedit.
Select Computer at the top.
Click on File then Export.

I did this on my Win 7 Pro X64 system and it's 311,538KB in size.

To restore select File then Import and point to the one you exported. Reboot after.
 

My Computer My Computer

At a glance

Windows 10 Pro X64Intel Quad Core i7-4770 @ 3.4Ghz16.0GB PC3-12800 DDR3 SDRAM 1600 MHzIntel Integrated HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
i dont understand how a text file coul be 311mb .. all a registry backup is is a bunch of text in a .reg text file

i actually was wondering how to do the same thing but a little differently

i want to add ethernet with a value of 2 if it has a value of 1 and 1 if it has a value of 2

right now i am accomplishing this with 2 separate .reg files, i was wondering if .reg files accepted code commands of any kind and if so which command would i use instead of IF
i noticed if i try to put an if or else statement or a while loop it ignores the commands and just posted the first registry key into the database


edit: is using a batch file with reg delete and reg add commands the only way or can i do this directly in a .reg file?

and wht a coincidence that untill i edited this i was viewing and posted at the exact same time as Zturker only 2002 days later! neato lmao
 

My Computer My Computer

At a glance

64
Computer type
PC/Desktop
OS
64
Back
Top