Solved

Registry Entry

Posted on 1998-07-09
1
172 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
Comment Utility
Regedit can be launched with /s silent command line.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
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.

763 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

6 Experts available now in Live!

Get 1:1 Help Now