Retrieving A Registry Key

  • Thread starter Thread starter Centaur
  • Start date Start date
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
 
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
|
|
 
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
| >
| >
|
|
 
Back
Top