How to write a registry entry in silent mode?

nsanga used Ask the Experts™
Hi experts,
I would like to write an entry into the registry in silent mode. Please tell me whether I can do it from a batch file or in any other method?

Thanks and Regards,
Narahari Sanga
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

I'm unfamiliar with "silent mode".  Perhaps it would help if you explained what you mean here.
Simply execute "REGEDIT.EXE /s foo.reg"
It works from the DOS prompt = batch file.
foo.reg is a file which contains the registry keys to add to the registry.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial