Solved Registry export to .txt

max7bg

New member
Hello,

I need to export registry key to .txt file by using .bat file, but it's kinda complicated :)

Here is what I built

Code:
if exist %temp%version.txt del /q %temp%\version.txt

regedit /e %temp%\version.txt "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version Vector"

start %temp%\version.txt

And it gives this output, what is correct

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version Vector]
"IE"="9.0000"
"VML"="1.0"
"WindowsEdition"="1"
"Skype"="6.1.129"

But I need to export just info from bolded content below:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer]
"MkEnabled"="Yes"
"Version"="9.0.8112.16421"
"Build"="98112"
"IntegratedBrowser"=dword:00000001
"W2kVersion"="9.0.8112.16421"
"svcKBFWLink"="http://go.microsoft.com/fwlink/?LinkID=271112"
"svcVersion"="9.0.8112.16421"
"svcUpdateVersion"="9.0.12"
"svcKBNumber"="KB2761465"

Is this possible, and how? I know how to export whole HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer key, but need only this, if it's somehow possible?

Thanks in advantage :)
 

My Computer

OS
Windows 7 Ultimate 32bit
Try this,
Code:
REG QUERY "HKLM\SOFTWARE\Microsoft\Internet Explorer" /v "Version" > %temp%\version.txt
It will overwrite the file if it already exist so the first line of your code will be redundant.
 

My Computer

Computer Manufacturer/Model Number
Self built
OS
Windows 7 Ultimate x64
CPU
Intel Pentium Dual Core E5200 2.5GHz (3.77GHz OC)
Motherboard
Asus P5Q-E
Memory
Corsair 4GB DDR2 (4x1GB CM2X1024-6400C4)
Graphics Card(s)
Palit GeForce GTS 250 (1024MB)
Sound Card
On Board (ADI AD2000B 8ch HD)
Monitor(s) Displays
Samsung 32in LCD TV
Screen Resolution
1360x768
Hard Drives
2 x 1TB Samsung 103SJ (Raid0)
2 x External 500GB Samsung 502IJ (NexStar 3 HD Enclosures)
PSU
550W Antec Neo HE 550
Case
Antec P180
Cooling
Xigmatex Red Scorpion CPU Cooler. 3x120mm Fans
Keyboard
Logitech MX5000 Laser (Combo)
Mouse
Logitech MX5000 Laser (Combo)
Internet Speed
ADSL2+ (avg 10 Mbps Down, 0.80 Mbps up)
Other Info
Gigabyte GN-WP01GS 54g Wireless Lan Card
Wow, this is it, thanks :D

Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer
    Version    REG_SZ    9.0.8112.16421
 

My Computer

OS
Windows 7 Ultimate 32bit
No problem.
 

My Computer

Computer Manufacturer/Model Number
Self built
OS
Windows 7 Ultimate x64
CPU
Intel Pentium Dual Core E5200 2.5GHz (3.77GHz OC)
Motherboard
Asus P5Q-E
Memory
Corsair 4GB DDR2 (4x1GB CM2X1024-6400C4)
Graphics Card(s)
Palit GeForce GTS 250 (1024MB)
Sound Card
On Board (ADI AD2000B 8ch HD)
Monitor(s) Displays
Samsung 32in LCD TV
Screen Resolution
1360x768
Hard Drives
2 x 1TB Samsung 103SJ (Raid0)
2 x External 500GB Samsung 502IJ (NexStar 3 HD Enclosures)
PSU
550W Antec Neo HE 550
Case
Antec P180
Cooling
Xigmatex Red Scorpion CPU Cooler. 3x120mm Fans
Keyboard
Logitech MX5000 Laser (Combo)
Mouse
Logitech MX5000 Laser (Combo)
Internet Speed
ADSL2+ (avg 10 Mbps Down, 0.80 Mbps up)
Other Info
Gigabyte GN-WP01GS 54g Wireless Lan Card
Back
Top