Retrieving A Registry Key

C

Centaur

Hi

Is there a command line way of receiving a registry key for the "user name"
or "Computer Name" and turn it into a text file

Many thanks to all who reply

Centaur
 
D

Dave Patrick

To export from a command prompt;

regedit /e D:\filename.reg "Full key name"
where D:\filename.reg is the location of the file you want to create.

So something like
regedit /e D:\zzz.reg "HKEY_CLASSES_ROOT\.bat"

( /E:A and /A Specifies ASCII output instead of unicode)

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hi
|
| Is there a command line way of receiving a registry key for the "user
name"
| or "Computer Name" and turn it into a text file
|
| Many thanks to all who reply
|
| Centaur
|
|
 
D

Dave Patrick

You're welcome.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Thank you very much - most appreciated
|
| | > Hi
| >
| > Is there a command line way of receiving a registry key for the "user
| name"
| > or "Computer Name" and turn it into a text file
| >
| > Many thanks to all who reply
| >
| > Centaur
| >
| >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top