.bat file question.... |
![]() ![]() |
.bat file question.... |
Mar 18 2008, 02:31 PM
Post
#1
|
|
|
Member ![]() ![]() Posts: 15 OS: Vista |
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. Regards, |
|
|
Mar 18 2008, 11:24 PM
Post
#2
|
|
|
Spyware Veteran Posts: 20,201 From: Netherlands OS: XP Pro & Vista Ultimate |
http://www.computerhope.com/reg.htm
According to that /f is what you are looking for. Example line in a bat file CODE reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Test /v silent /f Hope that is what you are looking for. |
|
|
Mar 19 2008, 01:02 AM
Post
#3
|
|
|
Member ![]() ![]() Posts: 15 OS: Vista |
http://www.computerhope.com/reg.htm According to that /f is what you are looking for. Example line in a bat file CODE reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Test /v silent /f Hope that is what you are looking for. Thank you for your reply. Much appreciated. |
|
|
Mar 19 2008, 06:23 AM
Post
#4
|
|
|
Spyware Veteran Posts: 20,201 From: Netherlands OS: XP Pro & Vista Ultimate |
You're welcome.
|
|
|
Mar 19 2008, 01:24 PM
Post
#5
|
|
![]() TA Moderator Posts: 1,275 From: SET HOMEPATH OS: Windows 95/98/2000/XP/Vista |
Untowire,
If you are looking to import a file with a ".reg" extension, then you'll have to use a somewhat different approach: CODE 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. Ax |
|
|
Mar 20 2008, 12:58 AM
Post
#6
|
|
|
Member ![]() ![]() Posts: 15 OS: Vista |
Untowire, If you are looking to import a file with a ".reg" extension, then you'll have to use a somewhat different approach: CODE 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. Ax Thanks, much appreciated. |
|
|
Mar 20 2008, 11:30 AM
Post
#7
|
|
![]() TA Moderator Posts: 1,275 From: SET HOMEPATH OS: Windows 95/98/2000/XP/Vista |
|
|
|
![]() ![]() |
Similar Topics
| Topic Title | Replies / Views | Topic Information | |||||
|---|---|---|---|---|---|---|---|
![]() |
2 / 662 | 12th September 2006 - 12:56 AM yvo523 started - last by yvo523 |
|||||
![]() |
6 / 311 | 1st May 2007 - 07:15 AM beethoven started - last by beethoven |
|||||
![]() |
4 / 276 | 9th August 2007 - 06:38 PM Fredil started - last by Fredil |
|||||
![]() |
11 / 286 | 24th October 2007 - 06:53 AM pr0n started - last by pr0n |
|||||
![]() |
3 / 244 | 28th July 2008 - 03:48 PM kelkay started - last by kelkay |
|||||
|
Time is now: 7th October 2008 - 02:02 PM |
| Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm to your computer. However, we do not guarantee that they are accurate and they are to be used at your own risk. |