Use "regedit /s <filename.reg>" instead of "reg add".

 

Regards,

 

Michael B. Smith

MCITP:EM/MCSE/Exchange MVP

http://TheEssentialExchange.com

 

From: Gavin Wilby [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 23, 2008 12:38 PM
To: NT System Admin Issues
Subject: Adding a reg_binary using reg add

 

Hi,

 

Im writing a little script for out techs to use that just does a few basic
things - its an automation really.

 

I need to add some registry entries, one of which is a  reg_binary. The
thing is, its MASSIVE when I look at it in the registry.

 

Its like this when I open it:
http://www.flickr.com/photos/gavsta/2603965857/

 

If I export it, it looks like this:
"Events"=hex:5a,04,35,04,5a,44,01,00,5b,04,35,04, <- this goes on for about
half a page.

 

I have cut it down a lot but you get my point.

 

How can I command line this to the registry easily?

 

Gavin.


~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to