Solved

Registry Entry

Posted on 1998-07-09
1
173 Views
Last Modified: 2010-04-01
I am trying to update the Windows 95/NT registry using the *.REG files from a program.
I was thinking regedit.exe would be easier to call from a CreateProcess with the registry file name. Unfortunately regedit displayed a dialog box at the end of each update.
Is there a command line option which prevents regedit not to display the dialog box. If not, are there are specific API's in windows which can read the REG file and write it to the registry
0
Comment
Question by:rian
1 Comment
 
LVL 7

Accepted Solution

by:
galkin earned 50 total points
ID: 1167484
Regedit can be launched with /s silent command line.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now