answersLogoWhite

0

You can only do it with regetit.exe, and plus if you are asking to change it with a batch file ... trying to make a virus?

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

ProfessorProfessor
I will give you the most educated answer.
Chat with Professor
FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine

Add your answer:

Earn +20 pts
Q: How do you edit your registry from a batch file?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you name a batch program?

Assuming you mean a shell script (AKA batch file), you simply add a .bat as the extension to any plaintext file. There is no limitation for the actual filename aside from this (except for regularly unallowed charachters like > and /). For instance, if you wanted to name your batch file hello world, you would open up a new notepad document, enter your code, then save as File Name: hello world.bat and change the Save as Type: All Files. Windows automatically recognizes any file with the .bat extension as an executable batch file, so to run it, you would just double-click it like any other document or file. To edit the batch file again, you can right click it and select Edit, or use notepad to open it from its respective location. Hope that answers your question.


What is the difference between rem and echo in batch?

rem is a comment that is only seen if you edit the batch echo actually is printed when the batch is running


Can you make a batch script where windows update will be set to automatic?

WARNING: The following answer contains information related to the Windows registry. You use this information entirely at your own risk!The "automatic" option is stored in the Windows registry, here:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto UpdateThe AUOptions value has the following settings:0x00000001 (1): Never check for updates (not recommended)0x00000002 (2): Check for updates but let me choose whether to download and install them0x00000003 (3): Download updates but let me choose whether to install them0x00000004 (4): Install updates automatically (recommended)The CachedAUOptions value must match the AUOptionsvalue. Both values are REG_DWORD values. To switch to automatic updates, change both values to 0x00000004 (4).To silently switch to automatic updates via batch file, first create the following REG file (or ECHO it to a temporary file from within your batch file):Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update]"AUOptions"=dword:00000004"CachedAUOptions"=dword:00000004Within your batch file execute the following command:reg import Replace with the full path and file name of your saved REG file. If you ECHO'd a temporary file, remember to delete the temporary file when you are finished importing.


How do you edit cbr files?

1. change the extension file .cbr to .rar 2. right klick that file, and etract them 3. you have opened them 4. now you can edit that file


What are the features of batch file programming?

Batch file programming is dos based programming you have to use dos commands .It is very good to perform some repetitive task in computer programming is easy you should only know the dos commands.