How can I create a .bat or .cmd file that enters a registry file without being asked if it's okay/continue, etc.? Something like a silent install.
Hope I made myself clear and your help would be appreciated.
Jump to content
Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.Create Account How it Works
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Test /v silent /f
According to that /f is what you are looking for.
Example line in a bat filereg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Test /v silent /f
Hope that is what you are looking for.
regedit.exe /s "C:\Test\File.reg"
If you are looking to import a file with a ".reg" extension, then you'll have to use a somewhat different approach:regedit.exe /s "C:\Test\File.reg"
With "C:\Test\File.reg" being the path to the file you wish to merge to the registry.
0 members, 0 guests, 0 anonymous users
Community Forum Software by IP.Board
Licensed to: Geeks to Go, Inc.