Want this question answered?
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.
More or less.
if by bat you made the .bat file extension then the full form of bat is batch. it is a file that is created with batch script, the windows command line.
A Batch Script
a system of coding, different types are batch,vb script, Html, are all on the computer if you have windows
"Shell Script is series of command written in plain text file. Shell script is just like batch file in MS-DOS but have more power than the MS-DOS batch file."
Wiki Books has information about batch scripts and examples. Network Automation has downloads to help with batch scripts. There are sample batch script files at Rovander Woude that would be helpful.
.bat indicates a batch file, which is a script. You can see what it contains by opening it with a text editor, such as notepad.
Batch files are text files containing a series of commands to execute set of commands or run programs in a sequence. Batch files are like a script which, instead of entering and running individual commands are useful in saving time and executing programs even when computer user is not present. Batch files are useful for repetitive tasks (you do not need to enter all the commands every time you repeat the task). MS-DOS and Windows batch files end with .bat extension.
You can have a running batch file continue in another batch file but have it running in the same spot as it was before moving in Windows 7 if it is configured properly. Batch files are designed to perform simple operations based on user input.
Autoexec.batAutoexec.batAutoexec.bat
We can not perform Shell Scripting in DOS, we can do Batch programing in DOS..