Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I export specific value from the registry to a text file using the command line?

For example, I want to export Hkey_local_Machine\Software\mcafee to a text file in C:. I just need the key – that's it.

I tried with reg export – it's giving everything, but I just require the key of the partiular thing.

share|improve this question
    
It's kind of hard to follow what you actually want to export. What do you mean by reg export "giving everything"? Did you specify the exact key you wanted to export? –  Ƭᴇcʜιᴇ007 May 14 '13 at 19:00

1 Answer 1

Try this:

reg export Hkey_local_Machine\Software\mcafee C:\export.txt

This will export registry values according to windows REG format.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.