Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Manipulate the Windows registry

Status
Not open for further replies.

bubble99

Programmer
Nov 12, 2002
4
0
0
DE
Hi there,
is there a way to write to the windows registry within a awk script ???

Bubble99
 
AFAIK : Not really. There is no organized abstract to do so in any case. You would have to design it or adapt someone else's
work. C,tcl and vb(of course) all have interfaces to
the registry.
 
There are ways of manipulating the registry from the command line. I don't remember the details, but one basically creates a text file that contains registry commands/information and feeds that to regedit, or some other tool that can change the registry. I suspect that any good book on the Windows registry would contain information on how to do it.

You could call the above command via system.

Of course, one must take great care when editing the registry or you can destroy your system. Back it up -- back it up -- back it up :).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top