cmd line for running .REG file

S

see.cher

I have .REG files set to open with NOTEPAD on double click.
How do I open a .REG file with registry editor in a BAT file?
How do I answer the two prompts within the BAT file so it won't need
attention?

Thanks
cher
 
R

Ramesh, MS-MVP

Use this syntax:
regedit.exe /s myfile.reg

More information available in this link.

How to add, modify, or delete registry subkeys and
values by using a registration entries (.reg) file:
http://support.microsoft.com/?kbid=310516

--
Ramesh, Microsoft MVP
Windows XP Shell/User

Windows XP Troubleshooting
http://www.winhelponline.com


I have .REG files set to open with NOTEPAD on double click.
How do I open a .REG file with registry editor in a BAT file?
How do I answer the two prompts within the BAT file so it won't need
attention?

Thanks
cher
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top